From 08be623690f35a76ca32a7aaaea7f7765e64327c Mon Sep 17 00:00:00 2001 From: Daniel Ottavio Date: Sat, 12 Feb 2005 17:21:36 +0000 Subject: [PATCH] * doc/Makefile.am ($(srcdir)/version.texi): added rule to update or create doc/version.texi as needed. --- ChangeLog | 5 +++++ doc/Makefile.am | 12 ++++++++++++ 2 files changed, 17 insertions(+) diff --git a/ChangeLog b/ChangeLog index 1566716..d84cb48 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-02-12 Daniel P. Ottavio + + * doc/Makefile.am ($(srcdir)/version.texi): added rule to update + or create doc/version.texi as needed. + 2005-01-16 Erez Zadok * minor new ports:, i386-pc-linux-fc3, i386-pc-solaris2.10, diff --git a/doc/Makefile.am b/doc/Makefile.am index 09eb18e..619dffa 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -12,6 +12,18 @@ EXTRA_DIST = hlfsd.ps # (our European allies may object...) DVIPS = dvips -t letter -Pcmz +# Force version.texi to be rebuilt regardless of maintainer mode +$(srcdir)/version.texi: am-utils.texi $(top_srcdir)/configure.in + @(set `$(SHELL) $(srcdir)/mdate-sh $(srcdir)/am-utils.texi`; \ + echo "@set UPDATED $$1 $$2 $$3"; \ + echo "@set UPDATED-MONTH $$2 $$3"; \ + echo "@set EDITION $(VERSION)"; \ + echo "@set VERSION $(VERSION)") > vti.tmp + @cmp -s vti.tmp $(srcdir)/version.texi \ + || (echo "Updating $(srcdir)/version.texi"; \ + cp vti.tmp $(srcdir)/version.texi) + -@rm -f vti.tmp + # include dvi/ps in distribution dist-hook: am-utils.dvi am-utils.ps cp -p $^ $(distdir) -- 2.43.0