File: rules

package info (click to toggle)
gtkboard 0.11pre0-12
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,972 kB
  • ctags: 2,958
  • sloc: ansic: 20,200; sh: 3,434; makefile: 95
file content (32 lines) | stat: -rwxr-xr-x 822 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
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --bindir=\$${prefix}/games

override_dh_auto_install:
	install -d debian/gtkboard/usr/share/doc/gtkboard/html/devel
	install doc/index.html \
		debian/gtkboard/usr/share/doc/gtkboard/html/
	install doc/devel/devel/index.html \
		debian/gtkboard/usr/share/doc/gtkboard/html/devel/
	install -d debian/gtkboard/usr/share/applications
	install debian/gtkboard.desktop \
		debian/gtkboard/usr/share/applications
	dh_auto_install

## This will re-generate the man page.
## Not used during normal build; just a convenient place to keep this info.

#install-stamp: manpage

manpage: debian/gtkboard.6

debian/gtkboard.6: build
	help2man --name="play a variety of board games" \
		 --section=6 --no-info --output=$@ \
		src/gtkboard

.PHONY: manpage