From: Theodore Ts'o Date: Mon, 4 Sep 2017 02:40:23 +0000 (-0400) Subject: debian: make e2fsprogs-l10n be arch:all X-Git-Tag: v1.43.7~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b4125798014d834d687862df10b9f42e6bf8118;p=thirdparty%2Fe2fsprogs.git debian: make e2fsprogs-l10n be arch:all Addresses-Debian-Bug: 873813 Signed-off-by: Theodore Ts'o --- diff --git a/debian/control.in b/debian/control.in index 0581fa192..a8ba5f52c 100644 --- a/debian/control.in +++ b/debian/control.in @@ -38,7 +38,7 @@ Package: e2fsprogs-l10n Priority: extra Depends: e2fsprogs (= ${binary:Version}), ${misc:Depends} Replaces: e2fsprogs (<< 1.43.5-1) -Architecture: any +Architecture: all Description: ext2/ext3/ext4 file system utilities - translations The ext2, ext3 and ext4 file systems are successors of the original ext ("extended") file system. They are the main file system types used for diff --git a/debian/rules b/debian/rules index d4ce5e5ef..a2eac6d6e 100755 --- a/debian/rules +++ b/debian/rules @@ -364,10 +364,22 @@ install-udeb: build ln -sf mke2fs mkfs.ext2 ; ln -sf mke2fs mkfs.ext3 ; \ ln -sf mke2fs mkfs.ext4) -binary-indep: - # no arch-independant debs. - -binary-arch: DH_OPTIONS= -a +binary-indep: install + dh_testdir + dh_testroot + dh_lintian -i + dh_installchangelogs -i + dh_fixperms -i + dh_compress -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# binary-arch builds a superset of binary-indep. This is because +# building e2fsprogs-l10n.deb unnecessarily takes less time than +# running the install recipe twice. At some point when we rototill +# the rules file we can clean this up in a better way. binary-arch: install $(INSTALL_UDEB) dh_testdir dh_testroot @@ -470,7 +482,9 @@ endif dh_md5sums dh_builddeb -binary: binary-indep binary-arch +# binary-arch builds a superset of binary-indep. See the comment +# before the binary-arch rule for more details. +binary: binary-arch .PHONY: binary binary-arch binary-indep clean checkroot mrproper \ debug_flags debian-files