[dahdi-commits] kpfleming: linux/trunk r4637 - /linux/trunk/Makefile

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Wed Jul 30 10:18:59 CDT 2008


Author: kpfleming
Date: Wed Jul 30 10:18:58 2008
New Revision: 4637

URL: http://svn.digium.com/view/dahdi?view=rev&rev=4637
Log:
use a better technique to ensure that version.h gets updated when necessary

Modified:
    linux/trunk/Makefile

Modified: linux/trunk/Makefile
URL: http://svn.digium.com/view/dahdi/linux/trunk/Makefile?view=diff&rev=4637&r1=4636&r2=4637
==============================================================================
--- linux/trunk/Makefile (original)
+++ linux/trunk/Makefile Wed Jul 30 10:18:58 2008
@@ -80,7 +80,7 @@
 endif
 	$(KMAKE) modules DAHDI_BUILD_ALL=m
 
-include/dahdi/version.h:
+include/dahdi/version.h: FORCE
 	@DAHDIVERSION="${DAHDIVERSION}" build_tools/make_version_h > $@.tmp
 	@if cmp -s $@.tmp $@ ; then :; else \
 		mv $@.tmp $@ ; \
@@ -226,3 +226,5 @@
 	./test-script $(DESTDIR)/lib/modules/$(KVERS) dahdi
 
 .PHONY: distclean dist-clean clean all install devices modules stackcheck install-udev update install-modules install-include uninstall-modules firmware-download
+
+FORCE:




More information about the dahdi-commits mailing list