summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2008-07-30 15:18:58 +0000
committerKevin P. Fleming <kpfleming@digium.com>2008-07-30 15:18:58 +0000
commit99848715e93530c6c801422ef36efe9cd86910f4 (patch)
tree974ddba8f684af52c417cab7a34bbf18de1a20e0 /Makefile
parent8332edfed6ea86dc1719f7eba1a4e0b926b4cb0f (diff)
use a better technique to ensure that version.h gets updated when necessary
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4637 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 57e3a3b..9b5438a 100644
--- a/Makefile
+++ b/Makefile
@@ -80,7 +80,7 @@ ifeq (no,$(HAS_KSRC))
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:
./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: