Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 DATAPACKAGE=trigger-rally-data
8 DATADIR=usr/share/games/trigger-rally
9
10 # override the upstream values, they break non amd64 and i386 builds
11 export OPTIMS
12
13 # define user-set variables:
14 export prefix=/usr
15
16 # what manpages to build?
17 MANPAGES=debian/trigger-rally.6
18
19 %:
20 dh $@ -D src/
21
22 # rule to build manpages
23 $(MANPAGES): $(addsuffix .sgml,$(MANPAGES))
24 docbook-to-man $< > $@
25
26 override_dh_installman-arch: $(MANPAGES)
27 dh_installman $(MANPAGES)
28
29 execute_before_dh_auto_clean:
30 $(RM) $(MANPAGES)