/[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 151 - (show annotations) (download)
Mon Dec 17 18:08:51 2007 UTC (5 years, 6 months ago) by lyz-guest
File size: 2106 byte(s)
Adding copy of debian/ from 1.2.5-2 release as starting point for current
trunk/

1 #!/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 cp debian/README.Ubuntu $(CURDIR)/debian/ledgersmb/usr/share/doc/ledgersmb
63
64
65 # Build architecture-independent files here.
66 binary-indep: build install
67 # We have nothing to do by default.
68
69 # Build architecture-dependent files here.
70 binary-arch: build install
71 dh_testdir
72 dh_testroot
73 dh_installchangelogs Changelog
74 dh_installdocs
75 dh_installexamples
76 # dh_install
77 # dh_installdebconf
78 dh_link
79 dh_compress
80 dh_fixperms
81 dh_installdeb
82 dh_gencontrol
83 dh_md5sums
84 dh_builddeb
85
86 binary: binary-indep binary-arch
87 .PHONY: build clean binary-indep binary-arch binary install configure

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5