diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-06-02 04:16:45 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-06-02 04:16:50 +0200 |
commit | 7abdfa3a6ff766651598f0c4c1363c9a0f29860d (patch) | |
tree | d083111292d84cfc926f0081c5e6c746a8d5513b /ubuntu/_base/applications/tdeio-locate | |
parent | b9f916559f246fa2c0b139a9495f92b17247cf92 (diff) | |
download | tde-packaging-7abdfa3a6ff766651598f0c4c1363c9a0f29860d.tar.gz tde-packaging-7abdfa3a6ff766651598f0c4c1363c9a0f29860d.zip |
DEB: Added support for using the $(DEB_HOST_MULTIARCH) variable
in the install and links files to the debian-tde.mk common rules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu/_base/applications/tdeio-locate')
-rw-r--r-- | ubuntu/_base/applications/tdeio-locate/debian/cdbs/debian-tde.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ubuntu/_base/applications/tdeio-locate/debian/cdbs/debian-tde.mk b/ubuntu/_base/applications/tdeio-locate/debian/cdbs/debian-tde.mk index fb8c1b6c3..7c67fc9ca 100644 --- a/ubuntu/_base/applications/tdeio-locate/debian/cdbs/debian-tde.mk +++ b/ubuntu/_base/applications/tdeio-locate/debian/cdbs/debian-tde.mk @@ -140,12 +140,22 @@ common-binary-arch:: cat $$tmpf >>debian/$$p.substvars; \ done; \ rm -f $$tmpf ) + # update multi-arch path in install files + for a in debian/*install debian/*links; do \ + [ -d $$a ] || [ -f $$a.arch ] || \ + sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \ + done clean:: rm -rf debian/man/out -rmdir debian/man rm -f debian/stamp-man-pages rm -rf debian/shlibs-check + # revert multi-arch path in install files + for a in debian/*install debian/*links; do \ + [ ! -f $$a.arch ] || \ + mv $$a.arch $$a; \ + done $(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%: if test -x /usr/bin/dh_icons; then dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONCACHE_ARGS); fi |