summaryrefslogtreecommitdiffstats
path: root/debian/_base/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'debian/_base/libraries')
-rw-r--r--debian/_base/libraries/kipi-plugins/debian/cdbs/debian-tde.mk9
-rw-r--r--debian/_base/libraries/libkdcraw/debian/cdbs/debian-tde.mk9
-rw-r--r--debian/_base/libraries/libkexiv2/debian/cdbs/debian-tde.mk9
-rw-r--r--debian/_base/libraries/libkipi/debian/cdbs/debian-tde.mk9
-rw-r--r--debian/_base/libraries/libtdeldap/debian/cdbs/debian-tde.mk9
5 files changed, 35 insertions, 10 deletions
diff --git a/debian/_base/libraries/kipi-plugins/debian/cdbs/debian-tde.mk b/debian/_base/libraries/kipi-plugins/debian/cdbs/debian-tde.mk
index 7c67fc9ca..4eeb672b0 100644
--- a/debian/_base/libraries/kipi-plugins/debian/cdbs/debian-tde.mk
+++ b/debian/_base/libraries/kipi-plugins/debian/cdbs/debian-tde.mk
@@ -141,8 +141,11 @@ common-binary-arch::
done; \
rm -f $$tmpf )
# update multi-arch path in install files
- for a in debian/*install debian/*links; do \
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
[ -d $$a ] || [ -f $$a.arch ] || \
+ ! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
done
@@ -152,7 +155,9 @@ clean::
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 \
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
[ ! -f $$a.arch ] || \
mv $$a.arch $$a; \
done
diff --git a/debian/_base/libraries/libkdcraw/debian/cdbs/debian-tde.mk b/debian/_base/libraries/libkdcraw/debian/cdbs/debian-tde.mk
index 7c67fc9ca..4eeb672b0 100644
--- a/debian/_base/libraries/libkdcraw/debian/cdbs/debian-tde.mk
+++ b/debian/_base/libraries/libkdcraw/debian/cdbs/debian-tde.mk
@@ -141,8 +141,11 @@ common-binary-arch::
done; \
rm -f $$tmpf )
# update multi-arch path in install files
- for a in debian/*install debian/*links; do \
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
[ -d $$a ] || [ -f $$a.arch ] || \
+ ! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
done
@@ -152,7 +155,9 @@ clean::
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 \
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
[ ! -f $$a.arch ] || \
mv $$a.arch $$a; \
done
diff --git a/debian/_base/libraries/libkexiv2/debian/cdbs/debian-tde.mk b/debian/_base/libraries/libkexiv2/debian/cdbs/debian-tde.mk
index 7c67fc9ca..4eeb672b0 100644
--- a/debian/_base/libraries/libkexiv2/debian/cdbs/debian-tde.mk
+++ b/debian/_base/libraries/libkexiv2/debian/cdbs/debian-tde.mk
@@ -141,8 +141,11 @@ common-binary-arch::
done; \
rm -f $$tmpf )
# update multi-arch path in install files
- for a in debian/*install debian/*links; do \
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
[ -d $$a ] || [ -f $$a.arch ] || \
+ ! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
done
@@ -152,7 +155,9 @@ clean::
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 \
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
[ ! -f $$a.arch ] || \
mv $$a.arch $$a; \
done
diff --git a/debian/_base/libraries/libkipi/debian/cdbs/debian-tde.mk b/debian/_base/libraries/libkipi/debian/cdbs/debian-tde.mk
index 7c67fc9ca..4eeb672b0 100644
--- a/debian/_base/libraries/libkipi/debian/cdbs/debian-tde.mk
+++ b/debian/_base/libraries/libkipi/debian/cdbs/debian-tde.mk
@@ -141,8 +141,11 @@ common-binary-arch::
done; \
rm -f $$tmpf )
# update multi-arch path in install files
- for a in debian/*install debian/*links; do \
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
[ -d $$a ] || [ -f $$a.arch ] || \
+ ! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
done
@@ -152,7 +155,9 @@ clean::
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 \
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
[ ! -f $$a.arch ] || \
mv $$a.arch $$a; \
done
diff --git a/debian/_base/libraries/libtdeldap/debian/cdbs/debian-tde.mk b/debian/_base/libraries/libtdeldap/debian/cdbs/debian-tde.mk
index 7c67fc9ca..4eeb672b0 100644
--- a/debian/_base/libraries/libtdeldap/debian/cdbs/debian-tde.mk
+++ b/debian/_base/libraries/libtdeldap/debian/cdbs/debian-tde.mk
@@ -141,8 +141,11 @@ common-binary-arch::
done; \
rm -f $$tmpf )
# update multi-arch path in install files
- for a in debian/*install debian/*links; do \
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
[ -d $$a ] || [ -f $$a.arch ] || \
+ ! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
done
@@ -152,7 +155,9 @@ clean::
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 \
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
[ ! -f $$a.arch ] || \
mv $$a.arch $$a; \
done