diff options
Diffstat (limited to 'doc/reference/Makefile.am')
-rw-r--r-- | doc/reference/Makefile.am | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/doc/reference/Makefile.am b/doc/reference/Makefile.am index ef6bf98..7c2dfb8 100644 --- a/doc/reference/Makefile.am +++ b/doc/reference/Makefile.am @@ -42,14 +42,14 @@ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml # gtk-doc will search all .c and .h files beneath these paths # for inline comments documenting functions and macros. # e.g. DOC_SOURCE_DIR=$(top_srcdir)/gtk $(top_srcdir)/gdk -DOC_SOURCE_DIR=$(top_srcdir)/lib +DOC_SOURCE_DIR=$(top_srcdir)/lib $(top_builddir)/lib # Extra options to pass to gtkdoc-scangobj. Normally not needed. SCANGOBJ_OPTIONS= # Extra options to supply to gtkdoc-scan. # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED" -SCAN_OPTIONS=--ignore-decorators=ASN1_API +SCAN_OPTIONS=--ignore-decorators=ASN1_API --deprecated-guards="ASN1_DISABLE_DEPRECATED" # Extra options to supply to gtkdoc-mkdb # e.g. MKDB_OPTIONS=--xml-mode --output-format=xml @@ -65,7 +65,7 @@ FIXXREF_OPTIONS= # Used for dependencies. The docs will be rebuilt if any of these change. # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c -HFILE_GLOB=$(top_srcdir)/lib/*.h +HFILE_GLOB=$(top_srcdir)/lib/*.h $(top_builddir)/lib/includes/libtasn1.h CFILE_GLOB=$(top_srcdir)/lib/*.c # Extra header to include when scanning, which are not under DOC_SOURCE_DIR @@ -74,7 +74,7 @@ EXTRA_HFILES= # Header files or dirs to ignore when scanning. Use base file/dir names # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h private_code -IGNORE_HFILES=element.h gstr.h int.h parser_aux.h structure.h gllib +IGNORE_HFILES=element.h gstr.h int.h parser_aux.h structure.h gl # Images to copy into HTML directory. # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png @@ -84,7 +84,7 @@ HTML_IMAGES= # e.g. content_files=running.xml building.xml changes-2.0.xml content_files= -# Files where gtk-doc abbrevations (#GtkWidget) are expanded +# Files where gtk-doc abbreviations (#GtkWidget) are expanded # e.g. expand_content_files=running.xml expand_content_files= @@ -109,3 +109,18 @@ TESTS_ENVIRONMENT = \ endif -include $(top_srcdir)/git.mk + +html-build.stamp: $(top_builddir)/.version +pdf-build.stamp: $(top_builddir)/.version + +CLEANFILES ?= +CLEANFILES += $(PACKAGE)-overrides.txt +CLEANFILES += $(PACKAGE)-decl.txt $(PACKAGE)-decl-list.txt +CLEANFILES += $(PACKAGE)-sections.txt $(PACKAGE).pdf + +clean-local: clean-local-junk +.PHONY: clean-local-junk +clean-local-junk: + -rm -rf xml html tmpl + +dist-hook-local: all-local |