File: rules

package info (click to toggle)
tuxfootball 0.3.1-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 26,572 kB
  • sloc: sh: 11,678; cpp: 6,667; makefile: 5,524; ansic: 358; sed: 16
file content (31 lines) | stat: -rwxr-xr-x 1,013 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

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

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--prefix=/usr/share \
		--datadir=/usr/share/games \
		--bindir=/usr/games \
		--docdir=/usr/share/doc

override_dh_auto_install:
	dh_auto_install -- \
		desktopdir=/usr/share/applications \
		icondir=/usr/share/icons/hicolor/128x128/apps
	$(RM) $(CURDIR)/debian/tuxfootball/usr/share/doc/tuxfootball/INSTALL
	$(RM) $(CURDIR)/debian/tuxfootball/usr/share/doc/tuxfootball/COPYING
	$(RM) $(CURDIR)/debian/tuxfootball/usr/share/doc/tuxfootball/ChangeLog