chiark / gitweb /
silence a bunch of gcc warnings
[elogind.git] / Makefile.am
index e8172bc51460ae18a0b1c9c8c3ce394975278579..7e6f52074a56ed3252e76a4d198d6552ce469a26 100644 (file)
@@ -3237,8 +3237,12 @@ DISTCHECK_CONFIGURE_FLAGS = \
        --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \
        --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
        --with-rootprefix=$$dc_install_base \
-       --disable-split-usr \
+       --disable-split-usr
+
+if ENABLE_GTK_DOC
+DISTCHECK_CONFIGURE_FLAGS += \
        --enable-gtk-doc
+endif
 
 upload: all distcheck
        cp -v systemd-$(VERSION).tar.xz /home/lennart/git.fedora/systemd/