summaryrefslogtreecommitdiffstats
path: root/gobject/docs
diff options
context:
space:
mode:
authorMatthew Booth <mbooth@redhat.com>2012-04-26 13:30:31 +0100
committerMatthew Booth <mbooth@redhat.com>2012-04-26 14:02:26 +0100
commitd58cb029a3a2acd2f4d40a58ea845911cfd003ed (patch)
tree8ebec66ebbbd5991a5fb09e3715c92965a29d1dc /gobject/docs
parent317ba894b3fb62156654cb50b8dc4ab36970f14e (diff)
downloadlibguestfs-d58cb029a3a2acd2f4d40a58ea845911cfd003ed.tar.gz
libguestfs-d58cb029a3a2acd2f4d40a58ea845911cfd003ed.tar.xz
libguestfs-d58cb029a3a2acd2f4d40a58ea845911cfd003ed.zip
gobject: Move headers into a subdirectory
The gobject bindings generate a large number of header files, which pollute /usr/include when installed. This patch moves them all into a guestfs-gobject/ subdirectory. guestfs-gobject.h remains in the same place. This change also moves generated source files into src/, because it makes the gobject directory a bit tidier.
Diffstat (limited to 'gobject/docs')
-rw-r--r--gobject/docs/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/gobject/docs/Makefile.am b/gobject/docs/Makefile.am
index 4ea8a289..f43ec9cd 100644
--- a/gobject/docs/Makefile.am
+++ b/gobject/docs/Makefile.am
@@ -28,7 +28,7 @@ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
# 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=$(srcdir)/..
+DOC_SOURCE_DIR=$(srcdir)/../src $(srcdir)/../include
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
SCANGOBJ_OPTIONS=
@@ -55,8 +55,8 @@ 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=$(srcdir)/../*.h
-CFILE_GLOB=$(srcdir)/../*.c
+HFILE_GLOB=$(srcdir)/../include/guestfs-gobject/*.h
+CFILE_GLOB=$(srcdir)/../src/*.c
# Extra header to include when scanning, which are not under DOC_SOURCE_DIR
# e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
@@ -64,7 +64,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=$(srcdir)/../guestfs-gobject.h
+IGNORE_HFILES=
# Images to copy into HTML directory.
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png