Commit 03f342f6 authored by Ferenc Wágner's avatar Ferenc Wágner
Browse files

Arch and indep builds require different pruning

Previously arch builds failed, because the doc directory was not present.
parent 63822802
......@@ -17,6 +17,7 @@ log4shib (1.0.9-1) unstable; urgency=medium
* [9b68d45] Omit useless MD5 files generated by Doxygen
* [66da772] Specify the empty pkg-config Cflags setting via a variable
* [68876b7] New license for config/ltmain.sh and m4/ax_pthread.m4
* Arch and indep builds require different pruning
-- Ferenc Wágner <wferi@niif.hu> Fri, 15 Jan 2016 00:05:41 +0100
......
......@@ -21,13 +21,16 @@ override_dh_auto_configure:
dh_auto_configure -- --disable-static $(DEBUG) log4shib_cflags=' '
# avoid leaking build flags into the pkg-config file
override_dh_install:
override_dh_install-arch:
pod2man --release=$(VERSION) --section=1 --center=log4shib \
debian/log4shib-config.pod debian/log4shib-config.1
find debian/tmp/usr/share/doc/log4shib-*/api/html -name "*.md5" -delete
rm debian/tmp/usr/lib/x86_64-linux-gnu/liblog4shib.la
dh_install -Xman3 --fail-missing
override_dh_install-indep:
find debian/tmp/usr/share/doc/log4shib-*/api/html -name "*.md5" -delete
dh_install -Xman3 --fail-missing
override_dh_autoreconf:
dh_autoreconf --as-needed
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment