mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
Generate $module-public-headers.txt file, feed it to gtk-doc
Rather than having the gtk-doc build machinery have a list of header files to exclude, change the GLib build to dump a list of public header files generated from the maintained Makefile.am files for each of glib/, gobject/, gio/. Also, for glib, always install glib-unix.h, even on non-Unix platforms, for the same reason we install gwin32.h even on Unix. https://bugzilla.gnome.org/show_bug.cgi?id=651745
This commit is contained in:
@@ -20,14 +20,9 @@ SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" \
|
||||
MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=g
|
||||
|
||||
# Used for dependencies
|
||||
HFILE_GLOB=$(top_srcdir)/gobject/*.h
|
||||
HFILE_GLOB=$(addprefix $(top_srcdir)/gobject/,$(shell cat $(top_srcdir)/gobject/gobject-public-header-files.txt))
|
||||
CFILE_GLOB=$(top_srcdir)/gobject/*.c
|
||||
|
||||
# Headers to ignore
|
||||
IGNORE_HFILES = \
|
||||
gobject_trace.h \
|
||||
gatomicarray.h
|
||||
|
||||
# CFLAGS and LDFLAGS for compiling scan program. Only needed
|
||||
# if $(DOC_MODULE).types is non-empty.
|
||||
INCLUDES = \
|
||||
|
Reference in New Issue
Block a user