debian: Skip building and manpage generation in arch-indep builds.

This commit is contained in:
Christoph Berg 2018-07-03 20:13:15 +02:00
parent ded148228d
commit bba850479b
2 changed files with 6 additions and 2 deletions

1
debian/changelog vendored
View File

@ -1,6 +1,7 @@
pgloader (3.5.2-2) UNRELEASED; urgency=medium
* Install pgloader.asd into correct location. (Closes: #857226)
* Skip building and manpage generation in arch-indep builds.
-- Christoph Berg <myon@debian.org> Tue, 03 Jul 2018 18:47:20 +0200

7
debian/rules vendored
View File

@ -20,7 +20,10 @@ override_dh_auto_clean:
dh_auto_clean
rm -rf debian/home
override_dh_auto_build:
override_dh_auto_build-indep:
# do nothing
override_dh_auto_build-arch:
mkdir -p build/bin
mkdir -p $(HOME)
buildapp --require sb-posix \
@ -44,7 +47,7 @@ override_dh_auto_test:
override_dh_strip:
# do nothing
override_dh_installman:
override_dh_installman-arch:
mkdir -p debian/pgloader/usr/share/man/man1/
help2man --version-string $(DEB_VERSION_UPSTREAM) \
--no-info \