fix doxygen doc build

* debian/rules: Build it last.
* configure.ac: Add missing comma.
This commit is contained in:
Alexandre Duret-Lutz 2017-11-24 09:29:46 +01:00
parent ce3eeb448d
commit c7f6655043
2 changed files with 6 additions and 4 deletions

View file

@ -55,7 +55,7 @@ AC_ARG_ENABLE([c++17],
AC_ARG_ENABLE([doxygen],
[AC_HELP_STRING([--enable-doxygen]),
[enable generation of Doxygen documentation (requires Doxygen)])]
[enable generation of Doxygen documentation (requires Doxygen)])],
[enable_doxygen=yes], [enable_doxygen=no])
AM_CONDITIONAL([ENABLE_DOXYGEN], [test "x${enable_doxygen:-no}" = xyes])

8
debian/rules vendored
View file

@ -65,8 +65,7 @@ override_dh_auto_configure:
make clean
dh_auto_configure -- $(PRO2SETUP) $(LTOSETUP) \
--disable-devel --enable-optimizations \
--disable-static --enable-doxygen \
PYTHON=/usr/bin/$(PYDEFAULT)
--disable-static PYTHON=/usr/bin/$(PYDEFAULT)
$(FLTOWORKAROUND)
override_dh_auto_install: fix-js
dh_auto_install --destdir=$(CURDIR)/debian/tmp
@ -84,9 +83,12 @@ override_dh_auto_install: fix-js
# alongside dynamic libraries, otherwise they will be stuffed with
# LTO stuff that is just two big to distribute. And we cannot use
# the profile generated with LTO on, so we simply build without it.
#
# Since this is a last rebuild, we also construct the Doxygen doc.
dh_auto_configure -- \
--disable-devel --enable-optimizations \
--disable-shared --enable-static --disable-python
--disable-shared --enable-static --disable-python \
--enable-doxygen
dh_auto_build -- clean
dh_auto_build -- all
dh_auto_install -- -C buddy