[Pkg-electronics-commits] [SCM] Packaging for Pcb branch, master, updated. 7b2d2e8fea731d06c87d98d8b024324b9c3e0469
أحمد المحمودي (Ahmed El-Mahmoudy)
aelmahmoudy at users.sourceforge.net
Thu Nov 19 08:49:47 UTC 2009
The following commit has been merged in the master branch:
commit af97edba95cfa0525deda94962e7db3dd578e5f3
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net>
Date: Thu Nov 19 10:08:14 2009 +0200
debian/rules: check wether pcb-common is built before operating on it,
this is a workaround for builders that only build binary-arch (Closes: #556298)
diff --git a/debian/rules b/debian/rules
index c72ba36..add167e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,10 +35,10 @@ override_dh_install:
install build_lesstif/src/pcb debian/$(package)-lesstif/usr/bin/pcb-lesstif
# Set executable bit for pcb tools:
- chmod a+x debian/$(package)-common/usr/share/pcb/tools/MergePCBPS
- chmod a+x debian/$(package)-common/usr/share/pcb/tools/Merge_dimPCBPS
- chmod a+x debian/$(package)-common/usr/share/pcb/tools/tgo2pcb.tcl
- chmod a+x debian/$(package)-common/usr/share/pcb/tools/PCB2HPGL
+ [ ! -d debian/$(package)-common ] || chmod a+x debian/$(package)-common/usr/share/pcb/tools/MergePCBPS
+ [ ! -d debian/$(package)-common ] || chmod a+x debian/$(package)-common/usr/share/pcb/tools/Merge_dimPCBPS
+ [ ! -d debian/$(package)-common ] || chmod a+x debian/$(package)-common/usr/share/pcb/tools/tgo2pcb.tcl
+ [ ! -d debian/$(package)-common ] || chmod a+x debian/$(package)-common/usr/share/pcb/tools/PCB2HPGL
# Remove empty dirs:
find debian/$(package)-common -type d -empty -delete
@@ -46,8 +46,8 @@ override_dh_install:
override_dh_fixperms:
dh_fixperms
# Fix permissions of a couple of example files:
- chmod -x debian/$(package)-common/usr/share/doc/$(package)-common/examples/LED
- chmod -x debian/$(package)-common/usr/share/doc/$(package)-common/examples/LED.NET
+ [ ! -d debian/$(package)-common ] || chmod -x debian/$(package)-common/usr/share/doc/$(package)-common/examples/LED
+ [ ! -d debian/$(package)-common ] || chmod -x debian/$(package)-common/usr/share/doc/$(package)-common/examples/LED.NET
override_dh_installexamples:
dh_installexamples -XMakefile
--
Packaging for Pcb
More information about the Pkg-electronics-commits
mailing list