[Pkg-sql-ledger-commit] r356 - ledger-smb/trunk/debian
pkg-sql-ledger-commit-owner at lists.alioth.debian.org
pkg-sql-ledger-commit-owner at lists.alioth.debian.org
Sun Dec 25 17:53:58 UTC 2011
Author: jame-guest
Date: 2011-12-25 17:53:58 +0000 (Sun, 25 Dec 2011)
New Revision: 356
Modified:
ledger-smb/trunk/debian/rules
Log:
Move the file permission corrections from the install to binary-indep target.
Modified: ledger-smb/trunk/debian/rules
===================================================================
--- ledger-smb/trunk/debian/rules 2011-12-25 17:18:06 UTC (rev 355)
+++ ledger-smb/trunk/debian/rules 2011-12-25 17:53:58 UTC (rev 356)
@@ -4,6 +4,7 @@
#export DH_VERBOSE=1
DESTDIR = $(CURDIR)/debian/ledgersmb
+LSMBDIR = $(DESTDIR)/usr/share/ledgersmb
INSTALL = install
@@ -59,19 +60,6 @@
perl Makefile.PL --skipdeps
$(MAKE)
- # Corrections to file permissions
- chmod +x $(CURDIR)/blib/lib/*.pl
- chmod +x $(CURDIR)/scripts/*.pl
- chmod +x $(CURDIR)/sql/modules/*.sh
- chmod +x $(CURDIR)/tools/*.sh
- chmod -x $(CURDIR)/locale/po/*
- chmod -x $(CURDIR)/locale/html/*
- chmod -x $(CURDIR)/sql/*sql
- chmod -x $(CURDIR)/sql/coa/*sql
- chmod -x $(CURDIR)/LedgerSMB/*pm
- chmod -x $(CURDIR)/LedgerSMB/Auth/*pm
- chmod -x $(CURDIR)/LedgerSMB/Taxes/*pm
- chmod -x $(CURDIR)/LedgerSMB/Template/*pm
# Build architecture-independent files here.
binary-indep: build install
@@ -86,6 +74,18 @@
dh_link
dh_compress
dh_fixperms
+ # Corrections to file permissions
+ chmod +x $(LSMBDIR)/scripts/*.pl
+ chmod +x $(LSMBDIR)/sql/modules/*.sh
+ chmod +x $(LSMBDIR)/tools/*.sh
+ chmod -x $(LSMBDIR)/locale/po/*
+ chmod -x $(LSMBDIR)/locale/html/*
+ chmod -x $(LSMBDIR)/sql/*sql
+ chmod -x $(LSMBDIR)/sql/coa/*sql
+ chmod -x $(LSMBDIR)/LedgerSMB/*pm
+ chmod -x $(LSMBDIR)/LedgerSMB/Auth/*pm
+ chmod -x $(LSMBDIR)/LedgerSMB/Taxes/*pm
+ chmod -x $(LSMBDIR)/LedgerSMB/Template/*pm
dh_installdeb
dh_perl
dh_gencontrol
More information about the Pkg-sql-ledger-commit
mailing list