Fix make distcheck without enabled docs

This commit is contained in:
Tim Rühsen 2018-03-06 10:21:45 +01:00 committed by Dagobert Michelsen
parent 6aaf6f4620
commit b9db5a7305
2 changed files with 10 additions and 2 deletions

View File

@ -1,6 +1,14 @@
# got some hints from https://gitorious.org/openismus-playground/examplelib/source # got some hints from https://gitorious.org/openismus-playground/examplelib/source
SUBDIRS = po include src tools $(LIBPSL_DOCS) fuzz tests SUBDIRS = po include src tools
if ENABLE_GTK_DOC
SUBDIRS += docs/libpsl
else
if ENABLE_MAN
SUBDIRS += docs/libpsl
endif
endif
SUBDIRS += fuzz tests
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}

View File

@ -46,7 +46,6 @@ AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], false)
]) ])
if test x"$have_gtk_doc" = xyes -a x"$enable_gtk_doc" = xyes; then if test x"$have_gtk_doc" = xyes -a x"$enable_gtk_doc" = xyes; then
AC_CONFIG_FILES([docs/libpsl/Makefile docs/libpsl/version.xml])
AC_SUBST([LIBPSL_DOCS], [docs/libpsl]) AC_SUBST([LIBPSL_DOCS], [docs/libpsl])
fi fi
@ -321,6 +320,7 @@ AC_CONFIG_FILES([Makefile
po/Makefile.in po/Makefile.in
fuzz/Makefile fuzz/Makefile
tests/Makefile tests/Makefile
docs/libpsl/Makefile docs/libpsl/version.xml
libpsl.pc:libpsl.pc.in]) libpsl.pc:libpsl.pc.in])
AC_OUTPUT AC_OUTPUT