[beast: 8/10] DOCS: build revisions.lst when git is present and ship it in tarballs



commit b32400e0ebf77a4cfb973b812e0ff71182fa1de1
Author: Tim Janik <timj gnu org>
Date:   Sun Jun 18 02:17:08 2017 +0200

    DOCS: build revisions.lst when git is present and ship it in tarballs
    
    Signed-off-by: Tim Janik <timj gnu org>

 docs/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/docs/Makefile.am b/docs/Makefile.am
index b991c72..18420e8 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -132,7 +132,7 @@ revisioned_files         = # files that need @FILE_REVISION@ substitution, see r
 
 # == revisions.lst ==
 noinst_DATA += revisions.lst
-revisions.lst: @INGIT@ $(revisioned_files) Makefile
+revisions.lst: $(GITSTAMPS)
        $(AM_V_GEN)
        $(Q) rm -f $@.tmplst
        $(Q) for file in $(revisioned_files) ; do \
@@ -146,7 +146,7 @@ clean-revisions.lst: # git is required to rebuild revisions.lst, so conditionali
        ! git rev-parse --git-dir 2>/dev/null 1>&2 || rm -f revisions.lst
 .PHONY: clean-revisions.lst
 clean-local: clean-revisions.lst
-
+EXTRA_DIST += revisions.lst
 
 # == .revd.md (INTERMEDIATE) ==
 %.revd.md: %.md revisions.lst


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]