1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/usr/bin/make -f
export DEB_LDFLAGS_MAINT_APPEND=-Wl,--no-add-needed,--no-undefined
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
%:
dh $@ --builddirectory=_build
override_dh_auto_configure:
dh_auto_configure --builddirectory=_build -- --with-freetype --with-png
# dh_auto_install blindly dumps every thing in debian/mscgen/
# However this means that the package ends up with two upstream
# changelogs and COPYING, which is one too much of each.
execute_after_dh_auto_install:
cd debian/mscgen/usr/share/doc/mscgen/ && \
rm -f COPYING && \
mv -f ChangeLog changelog
# The mscgen package is perfectly reproducible without
# strip-nondeterminism; Drop the helper to prove it.
override_dh_strip_nondeterminism:
|