summaryrefslogtreecommitdiffstats
path: root/debian/_base/applications/knowit
diff options
context:
space:
mode:
Diffstat (limited to 'debian/_base/applications/knowit')
-rw-r--r--debian/_base/applications/knowit/debian/cdbs/debian-tde.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/_base/applications/knowit/debian/cdbs/debian-tde.mk b/debian/_base/applications/knowit/debian/cdbs/debian-tde.mk
index fb8c1b6c3..7c67fc9ca 100644
--- a/debian/_base/applications/knowit/debian/cdbs/debian-tde.mk
+++ b/debian/_base/applications/knowit/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