[med-svn] r7319 - trunk/packages/circos/trunk/debian
Charles Plessy
plessy at alioth.debian.org
Sat Jul 23 11:09:19 UTC 2011
Author: plessy
Date: 2011-07-23 11:09:18 +0000 (Sat, 23 Jul 2011)
New Revision: 7319
Modified:
trunk/packages/circos/trunk/debian/rules
Log:
Speeding up (I hope) by avoiding repetitive find commands.
Modified: trunk/packages/circos/trunk/debian/rules
===================================================================
--- trunk/packages/circos/trunk/debian/rules 2011-07-23 11:08:05 UTC (rev 7318)
+++ trunk/packages/circos/trunk/debian/rules 2011-07-23 11:09:18 UTC (rev 7319)
@@ -12,17 +12,19 @@
override_dh_install:
dh_install
# Update circos relative path to absolute debian paths
- find debian/circos -type f | xargs sed -i 's/include etc/include \/usr\/share\/circos\/etc/g'
- find debian/circos -type f | xargs sed -i 's/include fonts/include \/usr\/share\/circos\/fonts/g'
- find debian/circos -type f | xargs sed -i 's/include svg/include \/usr\/share\/circos\/svg/g'
- find debian/circos -type f | xargs sed -i 's/include tiles/include \/usr\/share\/circos\/tiles/g'
- find debian/circos -type f | xargs sed -i 's/include data/include \/var\/lib\/circos\/data/g'
- find debian/circos-tutorials -type f | xargs sed -i 's/include etc/include \/usr\/share\/circos\/etc/g'
- find debian/circos-tutorials -type f | xargs sed -i 's/include fonts/include \/usr\/share\/circos\/fonts/g'
- find debian/circos-tutorials -type f | xargs sed -i 's/include svg/include \/usr\/share\/circos\/svg/g'
- find debian/circos-tutorials -type f | xargs sed -i 's/include tiles/include \/usr\/share\/circos\/tiles/g'
- find debian/circos-tutorials -type f | xargs sed -i 's/include data/include \/var\/lib\/circos\/data/g'
- find debian/circos-tutorials -type f | xargs sed -i 's/= data/= \/var\/lib\/circos\/data/g'
+ find debian/circos -type f | xargs sed -i \
+ -e 's/include etc/include \/usr\/share\/circos\/etc/g' \
+ -e 's/include fonts/include \/usr\/share\/circos\/fonts/g' \
+ -e 's/include svg/include \/usr\/share\/circos\/svg/g' \
+ -e 's/include tiles/include \/usr\/share\/circos\/tiles/g' \
+ -e 's/include data/include \/var\/lib\/circos\/data/g'
+ find debian/circos-tutorials -type f | xargs sed -i \
+ -e 's/include etc/include \/usr\/share\/circos\/etc/g' \
+ -e 's/include fonts/include \/usr\/share\/circos\/fonts/g' \
+ -e 's/include svg/include \/usr\/share\/circos\/svg/g' \
+ -e 's/include tiles/include \/usr\/share\/circos\/tiles/g' \
+ -e 's/include data/include \/var\/lib\/circos\/data/g' \
+ -e 's/= data/= \/var\/lib\/circos\/data/g'
override_dh_builddeb:
dh_builddeb -- -Z bzip2
More information about the debian-med-commit
mailing list