1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export ACLOCAL = aclocal -I m4
export DEB_CFLAGS_MAINT_APPEND = -std=gnu17
%:
dh $@ --no-parallel --sourcedirectory=amide-current/
override_dh_auto_configure:
cp -v amide-current/help/C/amide.xml amide-current/help/C/index.docbook
dh_auto_configure --sourcedirectory=amide-current/ -- \
--disable-amide-debug \
--config-cache \
--disable-dependency-tracking \
--prefix=/usr \
--localstatedir=/var/lib/amide \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--localstatedir=/var/lib/amide \
LDFLAGS="-Wl,-z,defs $(LDFLAGS)"
# To create the docs this option would be needed but it causes build problems
# see doc/README
# --enable-gtk-doc \
override_dh_auto_test:
echo "Do not run autotest"
|