[dahdi-commits] tzafrir: tools/trunk r5707 - /tools/trunk/Makefile

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Mon Jan 19 06:46:41 CST 2009


Author: tzafrir
Date: Mon Jan 19 06:46:41 2009
New Revision: 5707

URL: http://svn.digium.com/svn-view/dahdi?view=rev&rev=5707
Log:
dahdi-tools: Delete test binaries on 'make clean'

Modified:
    tools/trunk/Makefile

Modified: tools/trunk/Makefile
URL: http://svn.digium.com/svn-view/dahdi/tools/trunk/Makefile?view=diff&rev=5707&r1=5706&r2=5707
==============================================================================
--- tools/trunk/Makefile (original)
+++ tools/trunk/Makefile Mon Jan 19 06:46:41 2009
@@ -114,6 +114,7 @@
 BINS:=$(filter-out $(MENUSELECT_UTILS),$(BINS))
 MAN_PAGES:=$(wildcard $(BINS:%=doc/%.8))
 
+TEST_BINS:=patgen pattest patlooptest hdlcstress hdlctest hdlcgen hdlcverify timertest
 # All the man pages. Not just installed ones:
 GROFF_PAGES	:= $(wildcard doc/*.8 xpp/*.8)
 GROFF_HTML	:= $(GROFF_PAGES:%=%.html)
@@ -143,7 +144,7 @@
 	fi
 	@rm -f $@.tmp
 
-tests: patgen pattest patlooptest hdlcstress hdlctest hdlcgen hdlcverify timertest
+tests: $(TEST_BINS)
 
 $(UTILS): %: %.o
 
@@ -309,7 +310,7 @@
 
 clean:
 	-@$(MAKE) -C menuselect clean
-	rm -f $(BINS)
+	rm -f $(BINS) $(TEST_BINS)
 	rm -f *.o dahdi_cfg tzdriver sethdlc
 	rm -f $(LTZ_SO) $(LTZ_A) *.lo
 	@for dir in $(SUBDIRS_UTILS_ALL); do \




More information about the dahdi-commits mailing list