summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2008-07-30 15:22:14 +0000
committerKevin P. Fleming <kpfleming@digium.com>2008-07-30 15:22:14 +0000
commit605f2e36875ea759aa28ef6bf82786508f4212f0 (patch)
treee12ddddb162f190952c0e3aa9e0c133979584f33 /Makefile
parentdbab74b2338e03094a04c9df325d89748277b33f (diff)
use proper technique for rebuilding version.h
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4639 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 b085d62..4016703 100644
--- a/Makefile
+++ b/Makefile
@@ -130,7 +130,7 @@ programs: libs utils
utils: $(BINS) utils-subdirs
-version.h:
+version.h: FORCE
@TOOLSVERSION="${TOOLSVERSION}" build_tools/make_version_h > $@.tmp
@if cmp -s $@.tmp $@ ; then :; else \
mv $@.tmp $@ ; \
@@ -338,6 +338,8 @@ menuselect-tree: dahdi.xml
.PHONY: menuselect distclean dist-clean clean all _all install programs tests devel data config update install-programs install-libs install-utils-subdirs utils-subdirs prereq
+FORCE:
+
ifneq ($(wildcard .*.d),)
include .*.d
endif