File: rules

package info (click to toggle)
cyphesis-cpp 0.5.16-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 5,084 kB
  • ctags: 3,627
  • sloc: cpp: 30,418; python: 4,812; xml: 4,674; sh: 4,118; makefile: 902; ansic: 617
file content (47 lines) | stat: -rwxr-xr-x 1,616 bytes parent folder | download
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