/[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 157 - (hide annotations) (download)
Fri Jan 25 16:23:39 2008 UTC (5 years, 4 months ago) by lyz-guest
Original Path: ledger-smb/trunk/debian/rules
File size: 2253 byte(s)
Fixed executable status of upgrade-templates.pl and favicon.ico

1 lyz-guest 151 #!/usr/bin/make -f
2     # -*- makefile -*-
3     # Sample debian/rules that uses debhelper.
4     # This file was originally written by Joey Hess and Craig Small.
5     # As a special exception, when this file is copied by dh-make into a
6     # dh-make output file, you may use that output file without restriction.
7     # This special exception was added by Craig Small in version 0.37 of dh-make.
8    
9     # Uncomment this to turn on verbose mode.
10     #export DH_VERBOSE=1
11    
12     include /usr/share/dpatch/dpatch.make
13    
14     DESTDIR = $(CURDIR)/debian/ledgersmb
15     INSTALL = install
16    
17    
18     configure: configure-stamp
19     configure-stamp: patch-stamp
20     dh_testdir
21     # Add here commands to configure the package.
22    
23     touch configure-stamp
24    
25    
26     build: build-stamp
27    
28     build-stamp: configure-stamp
29     dh_testdir
30    
31     # Add here commands to compile the package.
32     $(MAKE)
33     #docbook-to-man debian/ledgersmb.sgml > ledgersmb.1
34    
35     touch $@
36    
37     clean: unpatch
38     dh_testdir
39     dh_testroot
40     rm -f build-stamp configure-stamp
41    
42     # Add here commands to clean up after the build process.
43     #-$(MAKE) clean
44     rm -f ledgersmb.conf
45    
46     dh_clean
47    
48     install: build
49     dh_testdir
50     dh_testroot
51     dh_clean -k
52     dh_installdirs
53    
54     # Add here commands to install the package into debian/ledgersmb.
55     sed -e 's|^spool = .*$$|spool = /var/lib/ledgersmb/spool|' \
56     -e 's|^latex : 1$$|latex : 0|' \
57     -e '/^localepath/d' \
58     ledgersmb.conf.default > ledgersmb.conf
59     $(MAKE) install DESTDIR=$(CURDIR)/debian/ledgersmb
60     chown www-data:www-data $(CURDIR)/debian/ledgersmb/etc/ledgersmb/*
61     chmod 0600 $(CURDIR)/debian/ledgersmb/etc/ledgersmb/*
62 lyz-guest 157 chmod +x $(CURDIR)/debian/ledgersmb/usr/share/ledgersmb/upgrade-templates.pl
63     chmod -x $(CURDIR)/debian/ledgersmb/usr/share/ledgersmb/favicon.ico
64 lyz-guest 151 cp debian/README.Ubuntu $(CURDIR)/debian/ledgersmb/usr/share/doc/ledgersmb
65    
66    
67     # Build architecture-independent files here.
68     binary-indep: build install
69     # We have nothing to do by default.
70    
71     # Build architecture-dependent files here.
72     binary-arch: build install
73     dh_testdir
74     dh_testroot
75     dh_installchangelogs Changelog
76     dh_installdocs
77     dh_installexamples
78     # dh_install
79     # dh_installdebconf
80     dh_link
81     dh_compress
82     dh_fixperms
83     dh_installdeb
84     dh_gencontrol
85     dh_md5sums
86     dh_builddeb
87    
88     binary: binary-indep binary-arch
89     .PHONY: build clean binary-indep binary-arch binary install configure

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5