Make GTK-Doc Makefile creation conditional

If GTK-Doc is not present, they cannot be generated at all…
This commit is contained in:
Gergely Polonkai 2013-10-05 00:00:48 +02:00
parent 371c123f17
commit e0893de2d2

View File

@ -77,9 +77,13 @@ AC_CONFIG_FILES([
data/Makefile
po/Makefile.in
tests/Makefile
docs/reference/swe-glib/version.xml
docs/reference/swe-glib/Makefile
data/swe-glib.pc
data/swe-glib.spec
])
AM_COND_IF([ENABLE_GTK_DOC], [
AC_CONFIG_FILES([
docs/reference/swe-glib/version.xml
docs/reference/swe-glib/Makefile
])
])
AC_OUTPUT