From 3f6e2420e54b8a1272a2d10e226f7abea018178a Mon Sep 17 00:00:00 2001 From: "Frederick F. Kautz IV" Date: Fri, 24 Feb 2017 21:08:54 -0800 Subject: [PATCH] Add a test target and remove web files on cleanup --- src/Makefile.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Makefile.in b/src/Makefile.in index e341039..10b1f46 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -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)