[beast] docs/import: avoid import check to interfere with make dist



commit 3851a7cc2fbee6b08f828193ff73c775f98cb211
Author: Tim Janik <timj gtk org>
Date:   Mon Aug 30 22:30:43 2010 +0200

    docs/import: avoid import check to interfere with make dist

 docs/imports/Makefile.am |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/docs/imports/Makefile.am b/docs/imports/Makefile.am
index 38d228e..c38701a 100644
--- a/docs/imports/Makefile.am
+++ b/docs/imports/Makefile.am
@@ -26,6 +26,9 @@ import-docs:
 	touch stamp-import-docs
 .PHONY: import-docs
 
+EXTRA_DIST += stamp-import-docs
+
 dist-hook:
-	find stamp-import-docs -mtime -4 | fgrep -q stamp \
+	[ ! -e stamp-import-docs ] \
+	|| find stamp-import-docs -mtime -4 | fgrep -q stamp \
 	|| { echo "docs/imports/: Last import is older than 3 days, please run: make import-docs -C docs/imports/" >&2 ; exit 1 ; }



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