Makefile.am revision 25e2e9fa28d39d82e6c6a127b8d40e8cc4815f88
1## Process this file with automake to produce Makefile.in 2include $(top_srcdir)/Makefile.decl 3 4AUTOMAKE_OPTIONS = 1.6 5 6# The name of the module. 7DOC_MODULE=glib 8 9# The top-level SGML file. 10DOC_MAIN_SGML_FILE=glib-docs.sgml 11 12# The directory containing the source code. Relative to $(srcdir) 13DOC_SOURCE_DIR=../../../glib ../../../gmodule 14 15# Extra options to supply to gtkdoc-scan 16SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" 17 18# Extra options to supply to gtkdoc-mkdb 19MKDB_OPTIONS=--sgml-mode --output-format=xml 20 21# Used for dependencies 22HFILE_GLOB=$(top_srcdir)/glib/*.h $(top_srcdir)/gmodule/*.h 23CFILE_GLOB=$(top_srcdir)/glib/*.c $(top_srcdir)/gmodule/*.c 24 25# Headers to ignore 26IGNORE_HFILES= \ 27 build \ 28 gobject \ 29 gio \ 30 config.h \ 31 gdatasetprivate.h \ 32 glibintl.h \ 33 gbsearcharray.h \ 34 gmoduleconf.h \ 35 gunibreak.h \ 36 gunicomp.h \ 37 gunidecomp.h \ 38 gunichartables.h \ 39 glibconfig-sysdefs.h \ 40 gdebug.h \ 41 gprintfint.h \ 42 galias.h \ 43 gmirroringtable.h \ 44 gscripttable.h \ 45 glib-mirroring-tab \ 46 gnulib \ 47 pcre \ 48 update-pcre 49 50# Images to copy into HTML directory 51HTML_IMAGES = \ 52 file-name-encodings.png \ 53 mainloop-states.gif 54 55# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE) 56content_files = \ 57 cross.sgml \ 58 running.sgml \ 59 building.sgml \ 60 changes.sgml \ 61 compiling.sgml \ 62 resources.sgml \ 63 regex-syntax.sgml \ 64 version.xml \ 65 glib-gettextize.xml \ 66 gtester.xml \ 67 gtester-report.xml 68 69# Extra options to supply to gtkdoc-fixref 70FIXXREF_OPTIONS= 71 72# include common portion ... 73include $(top_srcdir)/gtk-doc.make 74 75# Other files to distribute 76EXTRA_DIST += \ 77 file-name-encodings.png \ 78 file-name-encodings.sxd \ 79 mainloop-states.fig \ 80 mainloop-states.png \ 81 mainloop-states.eps \ 82 version.xml.in 83 84######################################################################## 85 86man_MANS = \ 87 glib-gettextize.1 \ 88 gtester.1 \ 89 gtester-report.1 90if ENABLE_MAN 91 92%.1 : %.xml 93 @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< 94 95endif 96 97BUILT_EXTRA_DIST = $(man_MANS) 98 99dist-hook-local: $(BUILT_EXTRA_DIST) 100 files='$(BUILT_EXTRA_DIST)'; \ 101 for f in $$files; do \ 102 if test -f $$f; then d=.; else d=$(srcdir); fi; \ 103 cp $$d/$$f $(distdir) || exit 1; done 104 105