projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2be6f2e
)
Hook to check for missing HTML files in dist
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 10 May 2004 08:42:56 +0000
(08:42 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 10 May 2004 08:42:56 +0000
(08:42 +0000)
doc/Makefile.am
patch
|
blob
|
history
diff --git
a/doc/Makefile.am
b/doc/Makefile.am
index
546d07b
..
b4cdc06
100644
(file)
--- a/
doc/Makefile.am
+++ b/
doc/Makefile.am
@@
-1,4
+1,4
@@
-## $Id: Makefile.am,v 1.22 2003-09-05 10:50:33 adam Exp $
+## $Id: Makefile.am,v 1.23 2004-05-10 08:42:56 adam Exp $
docdir=$(datadir)/doc/@PACKAGE@
SUPPORTFILES = \
docdir=$(datadir)/doc/@PACKAGE@
SUPPORTFILES = \
@@
-80,9
+80,22
@@
gils.ps: gils.sgml
gils.html: gils.sgml
sgml2html gils.sgml
gils.html: gils.sgml
sgml2html gils.sgml
-#dist-hook: zebra.html
-# cp *.html $(distdir)
-
clean-data-hook:
rm -f [0-9]* *.bak
clean-data-hook:
rm -f [0-9]* *.bak
+dist-hook:
+ for f in $(srcdir)/*.html; do \
+ found=0; \
+ b=`basename $$f`; \
+ for h in $(HTMLFILES); do \
+ if test "$$h" = "$$b"; then \
+ found=1; \
+ fi \
+ done; \
+ if test "$$found" = "0"; then \
+ echo "$$h not found in HTMLFILES"; \
+ exit 1; \
+ fi \
+ done
+
+