diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2008-07-30 15:18:58 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2008-07-30 15:18:58 +0000 |
commit | 99848715e93530c6c801422ef36efe9cd86910f4 (patch) | |
tree | 974ddba8f684af52c417cab7a34bbf18de1a20e0 /Makefile | |
parent | 8332edfed6ea86dc1719f7eba1a4e0b926b4cb0f (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-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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: |