From 99848715e93530c6c801422ef36efe9cd86910f4 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Wed, 30 Jul 2008 15:18:58 +0000 Subject: 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 --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') 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: -- cgit v1.2.3