Allow build without gtk-doc
Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
parent
5c40c23567
commit
b0d2945b5b
|
@ -6,8 +6,8 @@ if type -p gtkdocize > /dev/null; then
|
|||
gtkdocize --docdir docs
|
||||
gtkdocargs=--enable-gtk-doc
|
||||
fi
|
||||
|
||||
aclocal && \
|
||||
|
||||
aclocal -I m4 && \
|
||||
autoheader && \
|
||||
autoconf && \
|
||||
libtoolize --copy && \
|
||||
|
|
|
@ -94,8 +94,11 @@ GTKDOC_LIBS = \
|
|||
$(GLIB_LIBS) \
|
||||
$(top_builddir)/libgudev-1.0.la
|
||||
|
||||
if ENABLE_GTK_DOC
|
||||
EXTRA_DIST=
|
||||
|
||||
# This includes the standard gtk-doc make rules, copied by gtkdocize.
|
||||
include $(top_srcdir)/docs/gtk-doc.make
|
||||
-include $(top_srcdir)/docs/gtk-doc.make
|
||||
|
||||
# Other files to distribute
|
||||
# e.g. EXTRA_DIST += version.xml.in
|
||||
|
@ -107,7 +110,6 @@ EXTRA_DIST += version.xml.in
|
|||
#DISTCLEANFILES +=
|
||||
|
||||
# Comment this out if you want your docs-status tested during 'make check'
|
||||
if ENABLE_GTK_DOC
|
||||
TESTS_ENVIRONMENT = cd $(top_srcdir)
|
||||
TESTS = $(GTKDOC_CHECK)
|
||||
endif
|
||||
|
|
|
@ -88,8 +88,11 @@ override LDFLAGS=
|
|||
GTKDOC_CFLAGS=
|
||||
GTKDOC_LIBS=
|
||||
|
||||
if ENABLE_GTK_DOC
|
||||
EXTRA_DIST=
|
||||
|
||||
# This includes the standard gtk-doc make rules, copied by gtkdocize.
|
||||
include $(top_srcdir)/docs/gtk-doc.make
|
||||
-include $(top_srcdir)/docs/gtk-doc.make
|
||||
|
||||
# Other files to distribute
|
||||
# e.g. EXTRA_DIST += version.xml.in
|
||||
|
@ -101,7 +104,6 @@ EXTRA_DIST += version.xml.in
|
|||
#DISTCLEANFILES +=
|
||||
|
||||
# Comment this out if you want your docs-status tested during 'make check'
|
||||
if ENABLE_GTK_DOC
|
||||
TESTS_ENVIRONMENT = cd $(top_srcdir)
|
||||
TESTS = $(GTKDOC_CHECK)
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue