summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@1ts.org>2011-11-25 01:54:33 -0500
committerGravatar Karl Ramm <kcr@1ts.org>2011-11-25 01:55:12 -0500
commit5aec58b8494a6bc47727623dad2353ac7fc27299 (patch)
treeb3c01ac66ded9280e8bbcf28dd1c5087477b3503 /Makefile.in
parentf276622ace757977fec43633e43577350e0cf6fe (diff)
New version propagation to replace keyword substitution, part 1
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in14
1 files changed, 13 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 94e9cac..3ad4444 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -21,6 +21,16 @@ SUBDIRS=lib clients server zhm zwgc
build:
$(MAKE) all
+h/zephyr_version.h: always
+ sh -x ${srcdir}/new_vers.sh $(top_srcdir)
+
+clean: clean_version
+
+clean_version:
+ $(RM) h/zephyr_version.h
+
+all: h/zephyr_version.h
+
all check clean:
for i in ${SUBDIRS}; do (cd $$i; ${MAKE} $@) || exit 1; done
@@ -47,5 +57,7 @@ install:
${INSTALL} -m 644 h/zephyr/zephyr_err.h ${DESTDIR}${includedir}/zephyr
for i in ${SUBDIRS}; do (cd $$i; ${MAKE} $@) || exit 1; done
-.PHONY: all check install clean
+always:
+
+.PHONY: all check install clean clean_version always