X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2FMakefile.am;h=10799df87c07bdb3e2d31f1c4f72f645036453f3;hb=a9eae0225b1a51b0257f80d9da9f95475dd04f53;hp=546d07be1afbb19b110ba59235abbcf38ce229e3;hpb=248747ef40e38e5f4801d5403ee055f7f0156733;p=idzebra-moved-to-github.git diff --git a/doc/Makefile.am b/doc/Makefile.am index 546d07b..10799df 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,11 +1,11 @@ -## $Id: Makefile.am,v 1.22 2003-09-05 10:50:33 adam Exp $ +## $Id: Makefile.am,v 1.25 2004-09-28 20:38:25 adam Exp $ docdir=$(datadir)/doc/@PACKAGE@ SUPPORTFILES = \ - zebrahtml.dsl.in \ - zebraphp.dsl.in \ - zebraprint.dsl.in \ - tkl.xsl.in \ + zebrahtml.dsl \ + zebraphp.dsl \ + zebraprint.dsl \ + tkl.xsl \ xml.dcl XMLFILES = \ zebra.xml.in \ @@ -34,9 +34,9 @@ HTMLFILES = \ PNGFILES=zebra.png EPSFILES=zebra.eps -MANFILES=zebraidx.1 zebrasrv.8 +MANFILES=zebraidx.1 zebrasrv.8 idzebra-config.1 -REFFILES=zebraidx-man.sgml zebrasrv-man.sgml +REFFILES=zebraidx-man.sgml zebrasrv-man.sgml idzebra-config-man.sgml doc_DATA = $(HTMLFILES) zebra.pdf $(PNGFILES) man_MANS = $(MANFILES) @@ -53,6 +53,9 @@ zebraidx.1: zebraidx-man.sgml zebraidx-options.xml zebraidx-commands.xml zebrasrv.8: zebrasrv-man.sgml docbook2man $(srcdir)/zebrasrv-man.sgml +idzebra-config.1: idzebra-config-man.sgml + docbook2man $(srcdir)/idzebra-config-man.sgml + $(HTMLFILES): $(XMLFILES) jade -E14 -D $(srcdir) -d zebrahtml.dsl -t sgml $(srcdir)/xml.dcl zebra.xml @@ -80,9 +83,22 @@ gils.ps: gils.sgml gils.html: gils.sgml sgml2html gils.sgml -#dist-hook: zebra.html -# cp *.html $(distdir) - 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 + +