2
# Sample debian/rules that uses debhelper.
3
# GNU copyright 1997 by Joey Hess.
5
# This version is for a hypothetical package that builds an
6
# architecture-dependant package, as well as an architecture-independent
9
# Uncomment this to turn on verbose mode.
12
3
client = conserver-client
13
4
clientd = debian/$(client)
14
5
server = conserver-server
15
6
serverd = debian/$(server)
17
configure: configure-stamp
20
# Add here commands to configure the package.
21
./configure --sysconfdir=/etc/conserver \
11
override_dh_auto_configure:
14
--sysconfdir=/etc/conserver \
30
23
--with-pidfile=/var/run/conserver.pid \
35
build: configure-stamp build-stamp
39
# Add here commands to compile the package.
47
rm -f build-stamp configure-stamp
48
rm -f config.log config.cache config.status
50
# Add here commands to clean up after the build process.
51
[ ! -f Makefile ] || $(MAKE) distclean
64
# Add here commands to install the package into debian/conserver.
65
# $(MAKE) install prefix=$(CURDIR)/debian/conserver/usr \
66
# etcprefix=$(CURDIR)/debian/conserver
67
install -d $(serverd)/usr/sbin
68
install -m 0755 conserver/conserver $(serverd)/usr/sbin
69
install -d $(serverd)/etc/conserver
71
install -d $(serverd)/usr/lib/$(server)
72
install -m 0755 conserver/convert $(serverd)/usr/lib/$(server)
74
install -m 0644 debian/default.cf $(serverd)/etc/conserver/conserver.cf
76
install -d $(serverd)/usr/share/man/man5
77
install -m 0644 conserver.cf/conserver.cf.man \
78
$(serverd)/usr/share/man/man5/conserver.cf.5
79
install -m 0644 conserver.cf/conserver.passwd.man \
80
$(serverd)/usr/share/man/man5/conserver.passwd.5
82
install -d $(clientd)/etc/conserver
83
install -m 0644 debian/console.cf $(clientd)/etc/conserver/console.cf
84
install -d $(clientd)/usr/bin
85
install -m 0755 console/console $(clientd)/usr/bin/console
86
install -d $(clientd)/usr/share/man/man1
87
install -m 0644 console/console.man \
88
$(clientd)/usr/share/man/man1/console.1
90
# Build architecture-independent files here.
91
# Pass -i to all debhelper commands in this target to reduce clutter.
92
binary-indep: DH_OPTIONS=-i
93
binary-indep: build install
95
# Build architecture-dependent files here.
96
# Pass -a to all debhelper commands in this target to reduce clutter.
97
binary-arch: DH_OPTIONS=-a
98
binary-arch: build install
113
dh_installchangelogs CHANGES
127
binary: binary-indep binary-arch
128
.PHONY: build clean binary-indep binary-arch binary install configure
27
override_dh_installman:
28
dh_installman --language=C
30
override_dh_installcron override_dh_pysupport override_dh_perl override_dh_ucf: