[SCM] libgd-perl Debian packaging branch, master, updated. debian/1%2.46-3.1-160-gfbaad52
Jonas Smedegaard
dr at jones.dk
Mon Jun 24 20:21:00 UTC 2013
The following commit has been merged in the master branch:
commit fcf1c6e537e216527468a6f218e8c2fa8fd89cd1
Author: Jonas Smedegaard <dr at jones.dk>
Date: Mon Jun 24 22:09:38 2013 +0200
Fix make find rules in rules file POSIX-compliant.
diff --git a/debian/rules b/debian/rules
index bb7c5c2..89dd04e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,11 +48,11 @@ DEB_INSTALL_EXAMPLES_ALL = demos bdf_scripts qd.pl
# qd.pl and bdf2gdfont.pl are installed as example scripts instead
binary-post-install/$(pkg)::
- find "$(DEB_DESTDIR)" -type f -and '(' -name '*qd.pl*' -or -name '*bdf2gdfont.pl*' ')' -and -not -path '*/usr/share/doc/*' -exec rm -r '{}' ';'
+ find "$(DEB_DESTDIR)" -type f '(' -name '*qd.pl*' -or -name '*bdf2gdfont.pl*' ')' '!' -path '*/usr/share/doc/*' -delete
# Remove stray empty dirs (due to MakeMaker stupidity and above cleanup)
binary-post-install/$(pkg)::
- find "$(DEB_DESTDIR)" -empty -depth -exec rm -rf '{}' ';'
+ find "$(DEB_DESTDIR)" -depth -type d -empty -delete
find "$(DEB_DESTDIR)" -type f -exec sed -i 's,/usr/local/bin/perl,/usr/bin/perl,' '{}' ';'
# Manually clean leftovers
--
libgd-perl Debian packaging
More information about the Pkg-perl-cvs-commits
mailing list