/[pkg-sql-ledger]/ledger-smb/tags/1.3.9-1/debian/rules
ViewVC logotype

Contents of /ledger-smb/tags/1.3.9-1/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 299 - (hide annotations) (download)
Sun Oct 16 23:50:32 2011 UTC (19 months, 1 week ago) by jame-guest
Original Path: ledger-smb/trunk/debian/rules
File size: 1927 byte(s)
Initial v1.3 related file installation changes.
1 lyz-guest 151 #!/usr/bin/make -f
2    
3     # Uncomment this to turn on verbose mode.
4     #export DH_VERBOSE=1
5    
6     DESTDIR = $(CURDIR)/debian/ledgersmb
7     INSTALL = install
8    
9    
10 lyz-guest 181 configure: configure-stamp
11 jame-guest 270 configure-stamp:
12 lyz-guest 181 dh_testdir
13     # Add here commands to configure the package.
14    
15     touch configure-stamp
16    
17    
18 lyz-guest 151 build: build-stamp
19    
20 lyz-guest 181 build-stamp: configure-stamp
21 lyz-guest 151 dh_testdir
22    
23 lyz-guest 181 # Add here commands to compile the package.
24     #docbook-to-man debian/ledgersmb.sgml > ledgersmb.1
25 lyz-guest 151
26 lyz-guest 181 touch $@
27    
28 jame-guest 273 clean:
29 lyz-guest 151 dh_testdir
30     dh_testroot
31     rm -f build-stamp configure-stamp
32    
33     # Add here commands to clean up after the build process.
34     rm -f ledgersmb.conf
35    
36     dh_clean
37    
38     install: build
39     dh_testdir
40     dh_testroot
41 jame-guest 269 dh_prep
42 lyz-guest 151 dh_installdirs
43    
44     # Add here commands to install the package into debian/ledgersmb.
45     sed -e 's|^spool = .*$$|spool = /var/lib/ledgersmb/spool|' \
46     -e 's|^latex : 1$$|latex : 0|' \
47     -e '/^localepath/d' \
48     ledgersmb.conf.default > ledgersmb.conf
49 dblaber-guest 170
50 jame-guest 296 perl Makefile.PL --skipdeps
51     $(MAKE)
52    
53 jame-guest 299 # Corrections to file permissions
54     chmod +x $(CURDIR)/blib/lib/*.pl
55     chmod +x $(CURDIR)/scripts/*.pl
56     chmod +x $(CURDIR)/sql/modules/*.sh
57     chmod +x $(CURDIR)/tools/*.sh
58 jame-guest 285 chmod -x $(CURDIR)/locale/po/*
59 jame-guest 293 chmod -x $(CURDIR)/locale/html/*
60 jame-guest 285 chmod -x $(CURDIR)/sql/*sql
61 jame-guest 293 chmod -x $(CURDIR)/sql/coa/*sql
62 jame-guest 285 chmod -x $(CURDIR)/LedgerSMB/*pm
63 jame-guest 293 chmod -x $(CURDIR)/LedgerSMB/Auth/*pm
64 jame-guest 285 chmod -x $(CURDIR)/LedgerSMB/Taxes/*pm
65     chmod -x $(CURDIR)/LedgerSMB/Template/*pm
66 lyz-guest 151
67     # Build architecture-independent files here.
68     binary-indep: build install
69     dh_testdir
70     dh_testroot
71     dh_installchangelogs Changelog
72     dh_installdocs
73     dh_installexamples
74 jame-guest 279 dh_install
75 jame-guest 262 dh_lintian
76 jame-guest 270 # dh_installdebconf
77 lyz-guest 151 dh_link
78     dh_compress
79     dh_fixperms
80     dh_installdeb
81     dh_gencontrol
82     dh_md5sums
83     dh_builddeb
84    
85 lyz-guest 162 # Build architecture-dependent files here.
86     binary-arch: build install
87     # We have nothing to do by default.
88    
89 lyz-guest 151 binary: binary-indep binary-arch
90 lyz-guest 167 .PHONY: build clean binary-indep binary-arch binary install

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5