|
|
@ -141,8 +141,11 @@ common-binary-arch::
|
|
|
|
done; \
|
|
|
|
done; \
|
|
|
|
rm -f $$tmpf )
|
|
|
|
rm -f $$tmpf )
|
|
|
|
# update multi-arch path in install files
|
|
|
|
# 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 ] || \
|
|
|
|
[ -d $$a ] || [ -f $$a.arch ] || \
|
|
|
|
|
|
|
|
! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
|
|
|
|
sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
|
|
|
|
sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
@ -152,7 +155,9 @@ clean::
|
|
|
|
rm -f debian/stamp-man-pages
|
|
|
|
rm -f debian/stamp-man-pages
|
|
|
|
rm -rf debian/shlibs-check
|
|
|
|
rm -rf debian/shlibs-check
|
|
|
|
# revert multi-arch path in install files
|
|
|
|
# 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 ] || \
|
|
|
|
[ ! -f $$a.arch ] || \
|
|
|
|
mv $$a.arch $$a; \
|
|
|
|
mv $$a.arch $$a; \
|
|
|
|
done
|
|
|
|
done
|
|
|
|