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:
commit
d2850a333b
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue