File: rules

package info (click to toggle)
trigger-rally 0.6.6.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 122,076 kB
  • sloc: cpp: 13,460; ansic: 66; makefile: 13
file content (30 lines) | stat: -rwxr-xr-x 596 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

DATAPACKAGE=trigger-rally-data
DATADIR=usr/share/games/trigger-rally

# override the upstream values, they break non amd64 and i386 builds
export OPTIMS

# define user-set variables:
export prefix=/usr

# what manpages to build?
MANPAGES=debian/trigger-rally.6

%:
	dh $@ -D src/

# rule to build manpages
$(MANPAGES): $(addsuffix .sgml,$(MANPAGES))
	docbook-to-man $< > $@

override_dh_installman-arch: $(MANPAGES)
	dh_installman $(MANPAGES)

execute_before_dh_auto_clean:
	$(RM) $(MANPAGES)