From 5aec58b8494a6bc47727623dad2353ac7fc27299 Mon Sep 17 00:00:00 2001 From: Karl Ramm Date: Fri, 25 Nov 2011 01:54:33 -0500 Subject: New version propagation to replace keyword substitution, part 1 --- Makefile.in | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'Makefile.in') 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 -- cgit v1.2.3