From: ng0 Date: Thu, 24 Aug 2017 10:01:20 +0000 (+0000) Subject: doc/Makefile: generate a dummy version.texi X-Git-Tag: gnunet-0.11.0rc0~143 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7985352713a5462bc737332d02ddcc870381b56a;p=oweals%2Fgnunet.git doc/Makefile: generate a dummy version.texi --- diff --git a/doc/Makefile.am b/doc/Makefile.am index 508326781..ebf336dff 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -50,13 +50,19 @@ EXTRA_DIST = \ $(gnunet_TEXINFOS) \ $(gnunet_doc_images) -doc-pdf: +version.texi: + echo "@set UPDATED $(date +'%d %B %Y')" > $@ + echo "@set UPDATED-MONTH $(date +'%B %Y')" >> $@ + echo "@set EDITION $(PACKAGE_VERSION)" >> $@ + echo "@set VERSION $(PACKAGE_VERSION)" >> $@ + +doc-pdf: doc/version.texi @makeinfo --pdf --quiet gnunet.texi -doc-html: +doc-html: doc/version.texi @makeinfo --html gnunet.texi -doc-info: +doc-info: doc/version.texi @makeinfo --no-split gnunet.texi # FIXME: rm *.html and *.pdf @@ -64,3 +70,5 @@ doc-clean: @rm *.aux *.log *.toc *.cp *.cps doc-all: doc-pdf doc-html doc-info + +.PHONY: version.texi