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 30 31 32 33 34 35
|
#!/usr/bin/make -f
# -*- makefile -*-
#
# debian/rules file for package 'gcov'
#
export CFLAGS := -I/usr/include/libiberty $(shell dpkg-buildflags --get CFLAGS)
export DH_VERBOSE=1
# The magic rule ...
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- --localstatedir=/var/cache --enable-debug --disable-gui
cp debian/ncXL7RzcB_120x120.png lib/templates
override_dh_auto_clean:
# Some cruft
make distclean || echo "Clean"
# rm -rf test/test014/bar test/test014/baz test/test018/a.out test/test018/foo config.log
# rm -rf test/test029
find test -name '*.gcno' -exec rm {} \;
find test -name '*.gcda' -exec rm {} \;
find test -name '*.o' -exec rm {} \;
find test -name '*.exe' -exec rm {} \;
dh_clean
override_dh_auto_install:
dh_auto_install
find debian -name '*.la' -delete
override_dh_auto_test:
(cd test && ./runtest)
|