X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=doc%2FMakefile.am;h=54f46d16bdf8df51ca8457ea2e2be939fb78a1d5;hb=fc07fcf6d01732ab9e6ef9008345f85cf74271c3;hp=166d5e6a8bd84bdce5a54caa6a9c2afa2c2aa343;hpb=1c4d9b8df45c2346f49a62182dbe56309f869ae8;p=gedcom-parse.git diff --git a/doc/Makefile.am b/doc/Makefile.am index 166d5e6..54f46d1 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -4,18 +4,15 @@ SUBDIRS = images . DOC_FILES = index.html usage.html parser.html interface.html links.html \ - encoding.html gomxref.html -VERSIONED_FILES = index.html -EXTRA_DIST = $(DOC_FILES) + encoding.html +GENERATED_DOC_FILES = gomxref.html +DOC_GEN = make_gom_xref +EXTRA_DIST = $(DOC_FILES) $(DOC_GEN) index.html.in $(GENERATED_DOC_FILES) docdir = $(datadir)/doc/@PACKAGE@-@VERSION@ +DISTCLEANFILES = $(GENERATED_DOC_FILES) -include $(top_srcdir)/Makefile.inc - -doc_DATA = $(DOC_FILES) - -dist-hook: - $(replace-VERSION) +doc_DATA = $(DOC_FILES) $(GENERATED_DOC_FILES) gomxref.html: $(srcdir)/../include/gom.h srcdir=$(srcdir); export srcdir; \ - ./make_gom_xref + perl $(srcdir)/make_gom_xref