/[pkg-sql-ledger]/ledger-smb/trunk/debian/rules
ViewVC logotype

Contents of /ledger-smb/trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 296 - (show annotations) (download)
Sun Oct 9 06:38:45 2011 UTC (19 months, 1 week ago) by jame-guest
File size: 1754 byte(s)
Use package Makefile.PL for v1.3 builds.
1 #!/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 configure: configure-stamp
11 configure-stamp:
12 dh_testdir
13 # Add here commands to configure the package.
14
15 touch configure-stamp
16
17
18 build: build-stamp
19
20 build-stamp: configure-stamp
21 dh_testdir
22
23 # Add here commands to compile the package.
24 #docbook-to-man debian/ledgersmb.sgml > ledgersmb.1
25
26 touch $@
27
28 clean:
29 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 dh_prep
42 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
50 perl Makefile.PL --skipdeps
51 $(MAKE)
52
53 chmod -x $(CURDIR)/locale/po/*
54 chmod -x $(CURDIR)/locale/html/*
55 chmod -x $(CURDIR)/sql/*sql
56 chmod -x $(CURDIR)/sql/coa/*sql
57 chmod -x $(CURDIR)/LedgerSMB/*pm
58 chmod -x $(CURDIR)/LedgerSMB/Auth/*pm
59 chmod -x $(CURDIR)/LedgerSMB/Taxes/*pm
60 chmod -x $(CURDIR)/LedgerSMB/Template/*pm
61
62 # Build architecture-independent files here.
63 binary-indep: build install
64 dh_testdir
65 dh_testroot
66 dh_installchangelogs Changelog
67 dh_installdocs
68 dh_installexamples
69 dh_install
70 dh_lintian
71 # dh_installdebconf
72 dh_link
73 dh_compress
74 dh_fixperms
75 dh_installdeb
76 dh_gencontrol
77 dh_md5sums
78 dh_builddeb
79
80 # Build architecture-dependent files here.
81 binary-arch: build install
82 # We have nothing to do by default.
83
84 binary: binary-indep binary-arch
85 .PHONY: build clean binary-indep binary-arch binary install

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5