Updates for string and UTF-8 functions.
[gedcom-parse.git] / doc / Makefile.am
index 8667eeb62bd676ae28e36532bf19453cef22ec1a..2894e0deefd1f93f59e669c4842e1b7e28a14385 100644 (file)
@@ -4,20 +4,15 @@
 
 SUBDIRS = images .
 DOC_FILES = index.html usage.html parser.html interface.html links.html \
-           encoding.html 
+           encoding.html gom.html
 GENERATED_DOC_FILES = gomxref.html
 DOC_GEN = make_gom_xref
-EXTRA_DIST = $(DOC_FILES) $(DOC_GEN)
+EXTRA_DIST = $(DOC_FILES) $(DOC_GEN) index.html.in $(GENERATED_DOC_FILES)
 docdir = $(datadir)/doc/@PACKAGE@-@VERSION@
-
-VERSIONED_FILES = index.html
-include $(top_srcdir)/Makefile.inc
+DISTCLEANFILES = $(GENERATED_DOC_FILES)
 
 doc_DATA = $(DOC_FILES) $(GENERATED_DOC_FILES)
 
-dist-hook:
-       $(replace-VERSION)
-
-gomxref.html:  $(srcdir)/../include/gom.h
+gomxref.html:  $(srcdir)/../include/gom.h make_gom_xref
        srcdir=$(srcdir); export srcdir; \
         perl $(srcdir)/make_gom_xref