diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..97d885b --- /dev/null +++ b/debian/rules @@ -0,0 +1,24 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# +# Hardening +# +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +%: + dh $@ --with autoreconf + + +override_dh_installdocs: + make -C doc doxygen-doc + cp -r $(CURDIR)/doc/doxygen/html/* $(CURDIR)/debian/libpsocksxx-doc/usr/share/doc/libpsocksxx-doc/docs/ + dh_installdocs + +override_dh_makeshlibs: + dpkg-gensymbols -plibpsocksxx0 + dh_makeshlibs + |