[librsvg: 24/33] Fix gtk-doc build




commit c79c885b7f3ee82513a942e8cad1d15650340f1c
Author: Federico Mena Quintero <federico gnome org>
Date:   Fri Oct 30 13:41:26 2020 -0600

    Fix gtk-doc build

 doc/Makefile.am | 8 ++++----
 doc/rsvg.types  | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/doc/Makefile.am b/doc/Makefile.am
index dbc56e3c..d1cd62b9 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)/librsvg
+DOC_SOURCE_DIR = $(abs_top_srcdir)/include
 
 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
 SCANGOBJ_OPTIONS = --type-init-func="g_type_init ()"
@@ -52,13 +52,13 @@ 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 = $(top_srcdir)/librsvg/*.h
+HFILE_GLOB = $(top_srcdir)/include/*.h
 CFILE_GLOB =
 
 # Extra header to include when scanning, which are not under DOC_SOURCE_DIR
 # e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
 # EXTRA_HFILES = $(top_builddir)/evdocument/ev-version.h
-EXTRA_HFILES = $(top_builddir)/librsvg/rsvg-version.h
+EXTRA_HFILES = $(top_builddir)/include/rsvg-version.h
 
 # Header files to ignore when scanning. Use base file name, no paths
 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
@@ -90,7 +90,7 @@ expand_content_files =
 GTKDOC_CFLAGS =                                        \
        -I$(top_srcdir)                         \
        -I$(top_builddir)                       \
-       -I$(top_builddir)/librsvg               \
+       -I$(top_builddir)/include               \
        $(LIBRSVG_CFLAGS)                       \
        $(WARN_CFLAGS)                          \
        $(DISABLE_DEPRECATED)                   \
diff --git a/doc/rsvg.types b/doc/rsvg.types
index 298f4d33..2b1e2192 100644
--- a/doc/rsvg.types
+++ b/doc/rsvg.types
@@ -1,3 +1,3 @@
-#include <librsvg/rsvg.h>
+#include <include/rsvg.h>
 
 rsvg_handle_get_type


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]