1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@
override_dh_autoreconf:
dh_autoreconf debian/autogen.sh
override_dh_auto_configure:
dh_auto_configure -- --enable-static --enable-dot --enable-dependency-linking
execute_after_dh_auto_build:
make doxydoc
$(RM) doxydoc/html/*.md5 doxydoc/html/*.dot doxydoc/html/*.map
execute_before_dh_installexamples:
# Remove full build path from example Makefile
sed -i -e "s,prefix-map=$(CURDIR),prefix-map=BUILDPATH,g" Cgl/examples/Makefile
|