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