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 $@
override_dh_auto_build:
cp certs/server-cert.pem certs/server-cert.pem.orig
cp certs/server-key.pem certs/server-key.pem.orig
cp certs/test-ca.pem certs/test-ca.pem.orig
dh_auto_build
override_dh_auto_clean:
dh_auto_clean
-mv certs/server-cert.pem.orig certs/server-cert.pem
-mv certs/server-key.pem.orig certs/server-key.pem
-mv certs/test-ca.pem.orig certs/test-ca.pem
override_dh_auto_test:
test -e t/post.t && mv t/post.t t/testpost.t || :
dh_auto_test
mv t/testpost.t t/post.t
override_dh_clean:
test -e t/testpost.t && mv t/testpost.t t/post.t || :
dh_clean
|