More doxygen generation.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Sat, 26 Apr 2003 19:29:52 +0000 (19:29 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Sat, 26 Apr 2003 19:29:52 +0000 (19:29 +0000)
doc/Makefile.am
doc/html/Makefile.am

index 042ffeedd8956bac7254fe1b7ea70daa4d000415..a9c96680d86be69a787cff239f115a384f02fae4 100644 (file)
@@ -3,19 +3,5 @@
 # $Name$
 
 SUBDIRS = images . doxygen html
-DOC_FILES = index.html usage.html parser.html interface.html links.html \
-           encoding.html gom.html
-GENERATED_DOC_FILES = gomxref.html utf8tools.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)
-
-doc_DATA = $(DOC_FILES) $(GENERATED_DOC_FILES)
-
-gomxref.html:  $(srcdir)/../include/gom.h make_gom_xref
-       srcdir=$(srcdir); export srcdir; \
-        perl $(srcdir)/make_gom_xref
-
-utf8tools.html:        $(srcdir)/../utf8/doc/utf8tools.html
-       cp $< $@
+EXTRA_DIST = $(DOC_GEN)
index 8003f2e1aaf38b4e21eb01b3955cd1747cfbe458..6189a78e198efacc51ca7ba9487a6068f9a9aab8 100644 (file)
@@ -4,16 +4,23 @@
 
 SUBDIRS = images .
 DOC_FILES = encoding.html interface.html
-DOC_FILES_PREFIXED := $(addprefix $(srcdir)/, $(DOC_FILES))
+GENERATED_DOC_FILES = utf8tools.html gomxref.html
+DOC_FILES_PREFIXED := $(addprefix $(srcdir)/, $(DOC_FILES) $(GENERATED_DOC_FILES))
+
 ALL_HTML_FILES := $(wildcard $(srcdir)/*.html)
-GENERATED_DOC_FILES := $(filter-out $(DOC_FILES_PREFIXED), $(ALL_HTML_FILES))
-GENERATED_EXTRA_FILES = doxygen.css $(wildcard $(srcdir)/*.png)
+DOXYGEN_FILES := $(filter-out $(DOC_FILES_PREFIXED), $(ALL_HTML_FILES))
+DOXYGEN_EXTRA_FILES = doxygen.css $(wildcard $(srcdir)/*.png)
 
-EXTRA_DIST = $(ALL_HTML_FILES) $(GENERATED_EXTRA_FILES) utf8tools.html
+EXTRA_DIST = $(ALL_HTML_FILES) $(DOXYGEN_EXTRA_FILES)
 docdir = $(datadir)/doc/@PACKAGE@-@VERSION@
-DISTCLEANFILES = $(GENERATED_DOC_FILES) $(GENERATED_EXTRA_FILES)
+DISTCLEANFILES = $(DOXYGEN_FILES) $(DOXYGEN_EXTRA_FILES) $(GENERATED_DOC_FILES)
+
+doc_DATA = $(DOXYGEN_FILES) $(DOXYGEN_EXTRA_FILES) $(DOC_FILES) \
+           $(GENERATED_DOC_FILES)
 
-# doc_DATA = $(ALL_HTML_FILES) $(GENERATED_EXTRA_FILES)
+gomxref.html:  $(srcdir)/../../include/gom.h $(srcdir)/../make_gom_xref
+       srcdir=$(srcdir); export srcdir; \
+        perl $(srcdir)/../make_gom_xref $(srcdir)/../../include/gom.h
 
 utf8tools.html:        $(srcdir)/../../utf8/doc/utf8tools.html
        cp $< $@