Merge pull request #39 from fkautz/pr_out_add_a_test_target_and_remove_web_files_on_cleanup

Add a test target and remove web files on cleanup
This commit is contained in:
Heikki Hannikainen 2017-02-27 09:10:06 +02:00 committed by GitHub
commit d2850a333b
1 changed files with 4 additions and 0 deletions

View File

@ -134,6 +134,9 @@ testinstall:
mkdir -p ../tests/web ../tests/data ../tests/logs
cp -p $(subst src/,,$(WEBFILES)) ../tests/web/
test: all testinstall
cd ../tests && make
# -------------------------------------------------------------------- #
.PHONY: version_data.h
@ -182,6 +185,7 @@ distclean: clean
debian/aprsc.substvars debian/changelog
rm -f ../*.deb ../*.changes
rm -f ../tests/data/* ../tests/logs/*
rm -rf ../tests/web/*
aprsc: $(OBJS)
$(LD) $(LDFLAGS) -g -o aprsc $(OBJS) $(LIBS)