summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2020-11-05 17:31:59 -0600
committerFederico Mena Quintero <federico@gnome.org>2020-11-06 11:30:44 -0600
commit7d032cb807b90fcb56fa6b378a6e628307c70989 (patch)
tree0377bf750e0850a87bb1024b5efe8d9a8da49d9b /doc
parent6dae695f8770cf122fc75f8fcfda95c53e4ae742 (diff)
downloadlibrsvg-7d032cb807b90fcb56fa6b378a6e628307c70989.tar.gz
Use #include <librsvg/blah.h> in rsvg.h
This way we can avoid -I$(top_builddir)/include/librsvg everywhere just so that header can pick up rsvg-version.h, the only generated header file. Also, it seems more correct, e.g. GTK does it that way?
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index a9c92872..710c0d1b 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -19,7 +19,7 @@ DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml
# gtk-doc will search all .c & .h files beneath here for inline comments
# documenting the functions and macros.
# e.g. DOC_SOURCE_DIR=../../../gtk
-DOC_SOURCE_DIR = $(abs_top_srcdir)/include
+DOC_SOURCE_DIR = $(abs_top_srcdir)/include/librsvg
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
SCANGOBJ_OPTIONS = --type-init-func="g_type_init ()"