diff options
-rw-r--r-- | docs/Makefile.am | 5 | ||||
-rw-r--r-- | docs/reference/Makefile.am | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am index f3ddc22..f2b1950 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -1 +1,4 @@ -SUBDIRS = reference +SUBDIRS = +if ENABLE_GTK_DOC +SUBDIRS += reference +endif diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am index d99b6b1..ea36b58 100644 --- a/docs/reference/Makefile.am +++ b/docs/reference/Makefile.am @@ -29,10 +29,11 @@ GTKDOC_LIBS = $(GIREPO_LIBS) $(top_builddir)/girepository/libgirepository-1.0.la FIXXREF_OPTIONS= # include common portion ... +if ENABLE_GTK_DOC include $(top_srcdir)/gtk-doc.make - # Other files to distribute EXTRA_DIST += version.xml.in +endif ######################################################################## |