added SCANGOBJ_OPTIONS to set the type-init-func to pass to

2002-01-23  Damon Chaplin  <damon@ximian.com>

	* gtk/Makefile.am: added SCANGOBJ_OPTIONS to set the type-init-func
	to pass to gtkdoc-scangobj.
This commit is contained in:
Damon Chaplin 2002-01-23 23:52:43 +00:00 committed by Damon Chaplin
parent 321db896a4
commit 92ceb73a35
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-01-23 Damon Chaplin <damon@ximian.com>
* gtk/Makefile.am: added SCANGOBJ_OPTIONS to set the type-init-func
to pass to gtkdoc-scangobj.
Mon Jan 21 23:39:42 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/tmpl/gtkfixed.sgml: change guint16 to gint to reflect

View File

@ -9,6 +9,9 @@ DOC_MAIN_SGML_FILE=gtk-docs.sgml
# The directory containing the source code. Relative to $(srcdir)
DOC_SOURCE_DIR=../../../gtk
# Extra options to pass to gtkdoc-scangobj
SCANGOBJ_OPTIONS=--type-init-func="gtk_type_init(0)"
# Extra options to supply to gtkdoc-scan
SCAN_OPTIONS=--deprecated-guards="GTK_ENABLE_BROKEN|GTK_DISABLE_DEPRECATED"
@ -198,7 +201,7 @@ all-local: html-build.stamp
scan-build.stamp: $(HFILE_GLOB)
@echo '*** Scanning header files ***'
if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null ; then \
CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \
CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \
else \
cd $(srcdir) ; \
for i in $(SCANOBJ_FILES) ; do \