From 9cda80e32079b8ff8ee9748f26054204718a9acc Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 17 Dec 2021 18:31:24 +0000 Subject: [PATCH] debian/rules: add newly required targets, and reorder/tidy debdiff shows no change to .debs. Closes: #999242 Signed-off-by: Ian Jackson --- debian/rules | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/debian/rules b/debian/rules index b4f4dc5..134c90a 100755 --- a/debian/rules +++ b/debian/rules @@ -64,24 +64,12 @@ export INSTALL_SCRIPT export INSTALL_DIR export STRIP - -build: - $(MAKE) prefix=/usr CC='$(CC)' LD='$(TOOL_PREFIX)ld' - -clean: - $(MAKE) distclean - rm -rf debian/{files,substvars,tmp} build - rm -f debian/*~ debian/#*# debian/core debian/*.bak - -binary-indep: checkroot build - $(checkdir) -# There are no architecture-independent files to be uploaded -# generated by this package. If there were any they would be -# made here. - lab=libauthbind.so.$(major).$(minor) udp=debian/tmp/usr/share/doc/$(package) +build-arch: + $(MAKE) prefix=/usr CC='$(CC)' LD='$(TOOL_PREFIX)ld' + binary-arch: checkroot build rm -rf debian/tmp install -d -g root -m 755 -o root debian/tmp/DEBIAN $(udp) \ @@ -100,8 +88,18 @@ binary-arch: checkroot build xargs -0r touch --no-dereference --date="@$$SOURCE_DATE_EPOCH" dpkg --build debian/tmp .. -binary: binary-indep binary-arch +binary-indep build-indep: +# There are no architecture-independent files to be uploaded +# generated by this package. + +clean: + $(MAKE) distclean + rm -rf debian/{files,substvars,tmp} build + rm -f debian/*~ debian/#*# debian/core debian/*.bak checkroot: $(checkdir) test root = "`whoami`" + +binary: binary-indep binary-arch +build: build-indep build-arch -- 2.30.2