X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=doc%2FMakefile.am;h=431c460f9aef56fc982ed23b415a7f32ce43b529;hb=38a93aa4ec4d643e63d797e1bdbf639b1082a4cd;hp=4da9c1879df4527ba75d7dbbd31e440c7bfd6d2b;hpb=15b7fc321087729ec9665b654f308a17b45dea8e;p=gedcom-parse.git diff --git a/doc/Makefile.am b/doc/Makefile.am index 4da9c18..431c460 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -2,9 +2,22 @@ # $Id$ # $Name$ -EXTRA_DIST=parser.html +SUBDIRS = images . +DOC_FILES = index.html usage.html parser.html interface.html links.html \ + encoding.html +GENERATED_DOC_FILES = gomxref.html +DOC_GEN = make_gom_xref +EXTRA_DIST = $(DOC_FILES) $(DOC_GEN) +docdir = $(datadir)/doc/@PACKAGE@-@VERSION@ + +VERSIONED_FILES = index.html +include $(top_srcdir)/Makefile.inc + +doc_DATA = $(DOC_FILES) $(GENERATED_DOC_FILES) dist-hook: - mkdir $(distdir)/images - cp -p $(srcdir)/images/schema.obj $(srcdir)/images/schema.png \ - $(distdir)/images + $(replace-VERSION) + +gomxref.html: $(srcdir)/../include/gom.h + srcdir=$(srcdir); export srcdir; \ + $(srcdir)/make_gom_xref