Commit 120d9c0d authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

Call dh_sphinxdocs only when building arch-indep packages

parent db9433f8
...@@ -7,7 +7,7 @@ DUNE_DEBIAN_DUNECONTROL := $(CURDIR)/bin/dunecontrol ...@@ -7,7 +7,7 @@ DUNE_DEBIAN_DUNECONTROL := $(CURDIR)/bin/dunecontrol
include debian/dune-debian.mk include debian/dune-debian.mk
%: %:
dh $@ --parallel --builddirectory=build --with sphinxdoc dh $@ --parallel --builddirectory=build
override_dh_auto_build-indep: override_dh_auto_build-indep:
dh_auto_build -- doc dh_auto_build -- doc
...@@ -17,5 +17,9 @@ override_dh_install-arch: ...@@ -17,5 +17,9 @@ override_dh_install-arch:
mv debian/tmp/usr/bin/git-whitespace-hook debian/tmp/usr/bin/dune-git-whitespace-hook mv debian/tmp/usr/bin/git-whitespace-hook debian/tmp/usr/bin/dune-git-whitespace-hook
dh_install -a dh_install -a
override_dh_installdocs-indep:
dh_installdocs
dh_sphinxdoc
override_dh_strip: override_dh_strip:
dh_strip --dbg-package=libdune-common-dbg dh_strip --dbg-package=libdune-common-dbg
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