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 39 40 41 42 43 44 45 46 47
|
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
# Copyright © 2004 Michael Koch <konqueror@gmx.de>
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include $(CURDIR)/debian/cdbs/autotools.mk
clean::
debconf-updatepo
install/cyphesis-cpp::
chmod a-x $(CURDIR)/debian/tmp/usr/share/cyphesis/rulesets/basic/mind/dictlist.py
chrpath -d $(CURDIR)/debian/tmp/usr/bin/cyphesis
install/cyphesis-cpp-clients::
chrpath -d $(CURDIR)/debian/tmp/usr/bin/cyaddrules
chrpath -d $(CURDIR)/debian/tmp/usr/bin/cyclient
chrpath -d $(CURDIR)/debian/tmp/usr/bin/cycmd
chrpath -d $(CURDIR)/debian/tmp/usr/bin/cyconfig
chrpath -d $(CURDIR)/debian/tmp/usr/bin/cyconvertrules
chrpath -d $(CURDIR)/debian/tmp/usr/bin/cydumprules
chrpath -d $(CURDIR)/debian/tmp/usr/bin/cyloadrules
chrpath -d $(CURDIR)/debian/tmp/usr/bin/cypasswd
binary-install/cyphesis-cpp::
dh_pysupport /usr/share/cyphesis/rulesets/basic
binary-install/cyphesis-cpp-mason::
chmod a-x $(CURDIR)/debian/cyphesis-cpp-mason/usr/share/cyphesis/rulesets/mason/world/objects/buildings/House.py
chmod a-x $(CURDIR)/debian/cyphesis-cpp-mason/usr/share/cyphesis/rulesets/mason/world/objects/elements/Fire.py
dh_pysupport /usr/share/cyphesis/rulesets/mason
DEB_CONFIGURE_EXTRA_FLAGS := \
--disable-dependency-tracking \
--localstatedir=/var \
--enable-avahi \
--disable-psqltest
DEB_DH_INSTALL_SOURCEDIR := debian/tmp
# Start after and stop before postgresql server.
DEB_UPDATE_RCD_PARAMS := "start 30 2 3 4 5 . stop 10 0 1 6 ."
check-install:
dh_install --sourcedir=debian/tmp --list-missing
|