1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
PACKAGE=roundup
export DH_VERBOSE=1
UPSTREAM_VERSION=1.2.1
DEB_SRCDIR=$(CURDIR)
ROOT=$(DEB_SRCDIR)/debian/$(PACKAGE)
DEB_BUILDDIR=debian/$(PACKAGE)
DOC=$(DEB_SRCDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)
DEB_PYTHON_SYSTEM=pycentral
DEB_PYTHON_VERSIONS=2.3 2.4 2.5
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
include /usr/share/cdbs/1/rules/dpatch.mk
binary-install/roundup::
cp -a debian/service $(ROOT)/etc/roundup
chown -R root:root $(ROOT)/etc/roundup
chmod -R 0755 $(ROOT)/etc/roundup/service
install -m 755 -o root -g bin debian/roundup-ctl $(ROOT)/usr/bin
install -m 644 -o root -g bin debian/roundup-server.ini debian/cgiconf.py $(ROOT)/etc/roundup
perl debian/dh_installoverrides
rm -f $(DOC)/*.1
clean::
rm -fr build home
|