1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
#!/usr/bin/make -f
dh_targets=binary binary-arch binary-indep build build-arch build-indep clean install
$(dh_targets) %:
dh $@ --with autoreconf --parallel
.PHONY: $(dh_targets)
# Work around quilt patch inability to preserve file modes or
# represent deleted files. This is done here because, by coincidence,
# it only creates trouble during testing. (a) If test.cc is present,
# when "make test" runs it tries to compile test.cc rather than
# running the tests. (b) The test scripts must be executable.
override_dh_auto_test:
chmod --changes +x test0 test1 test2
-rm --verbose --force test.cc err.h patchlevel.h err.3 err.c
dh_auto_test
|