summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules8
1 files changed, 7 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 4f4c5cc..c5a1756 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,12 @@
#!/usr/bin/make -f
+#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
VERSION = $(shell head -n1 debian/changelog | sed -e 's/.*(//;s/-.*).*//;s/\+/\-/')
%:
- dh $@ --with autoreconf
+ dh $@
override_dh_auto_configure:
dh_auto_configure -- --enable-static
@@ -18,3 +19,8 @@ override_dh_makeshlibs:
dh_makeshlibs
dpkg-gensymbols -v$(VERSION) -Pdebian/libhx28 -plibhx28
dpkg-gensymbols -v$(VERSION) -Pdebian/libhx-dev -plibhx-dev
+
+override_dh_installdocs:
+ dh_installdocs -i -plibhx-doc --doc-main-package=libhx-doc
+ dh_installdocs -a -plibhx-dev
+ dh_installdocs -a -plibhx28