Daniel Veillard | 1164e75 | 1999-02-16 16:29:17 +0000 | [diff] [blame] | 1 | ## Process this file with automake to produce Makefile.in |
Daniel Veillard | 19b858c | 1999-02-06 18:12:01 +0000 | [diff] [blame] | 2 | |
Daniel Veillard | 1164e75 | 1999-02-16 16:29:17 +0000 | [diff] [blame] | 3 | # The name of the module. |
| 4 | DOC_MODULE=gnome-xml |
| 5 | |
| 6 | # The top-level SGML file. |
| 7 | DOC_MAIN_SGML_FILE=gnome-xml.sgml |
| 8 | |
| 9 | # The directory containing the source code (if it contains documentation). |
| 10 | DOC_SOURCE_DIR=.. |
| 11 | |
| 12 | |
| 13 | TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE) |
| 14 | |
| 15 | scan: |
| 16 | gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="acconfig.h config.h" |
| 17 | |
| 18 | templates: scan |
| 19 | gtkdoc-mktmpl --module=$(DOC_MODULE) |
| 20 | |
| 21 | sgml: |
| 22 | gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) |
| 23 | |
| 24 | html: |
| 25 | if ! test -d html ; then mkdir html ; fi |
| 26 | -cd html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) |
| 27 | |
| 28 | clean-local: |
| 29 | rm -f *~ *.bak *.hierarchy *.signals *-unused.txt |
| 30 | |
| 31 | maintainer-clean-local: clean |
| 32 | rm -rf sgml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt |
| 33 | |
Daniel Veillard | a4b4430 | 1999-02-16 18:53:00 +0000 | [diff] [blame] | 34 | docdatadir = $(datadir)/aclocal |
| 35 | docdata_DATA = xml.html structure.gif DOM.gif |
| 36 | |
Daniel Veillard | 1e346af | 1999-02-22 10:33:01 +0000 | [diff] [blame^] | 37 | gnome-xml-decl-list.txt : templates |
| 38 | |
| 39 | gnome-xml-sections.txt : scan |
| 40 | cp gnome-xml-decl-list.txt gnome-xml-sections.txt |
| 41 | |
| 42 | rebuild: gnome-xml-sections.txt templates sgml html |
| 43 | |
Daniel Veillard | a4b4430 | 1999-02-16 18:53:00 +0000 | [diff] [blame] | 44 | #install-data-local: |
| 45 | # install -d -m 0755 $(TARGET_DIR) |
| 46 | # install -m 0644 xml.html structure.gif DOM.gif $(TARGET_DIR) |
Daniel Veillard | 1164e75 | 1999-02-16 16:29:17 +0000 | [diff] [blame] | 47 | # install -m 0644 html/*.html $(TARGET_DIR) |
| 48 | # install -m 0644 html/index.sgml $(TARGET_DIR) |
| 49 | # gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR) |
| 50 | |
| 51 | .PHONY : html sgml templates scan |