From bba850479bb92dbb4aee7f456bd1c3d476cd8436 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Tue, 3 Jul 2018 20:13:15 +0200 Subject: [PATCH] debian: Skip building and manpage generation in arch-indep builds. --- debian/changelog | 1 + debian/rules | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 4eb7d9a..530afd0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Tue, 03 Jul 2018 18:47:20 +0200 diff --git a/debian/rules b/debian/rules index 293b419..e8fceec 100755 --- a/debian/rules +++ b/debian/rules @@ -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 \