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
|
#!/usr/bin/make -f
%:
dh $@ --buildsystem=autoconf
override_dh_autoreconf:
dh_autoreconf ./autogen.sh
# This is a workaround while we make the unit tests work in a reasonable way
override_dh_auto_test:
override_dh_installchangelogs:
dh_installchangelogs -XCHANGES
override_dh_compress:
dh_compress -Xswig-examples/examples
examples_dir = debian/swig-examples/usr/share/doc/swig-examples/examples
execute_after_dh_installdeb:
rm -rf $(examples_dir)/test-suite
if [ -f $(examples_dir)/Makefile ] ; then \
sed -i -e 's/^ROOT_DIR =.*/ROOT_DIR = ./' \
$(examples_dir)/Makefile ; \
fi
|