File: rules

package info (click to toggle)
tuxtype 1.8.3-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 19,908 kB
  • sloc: ansic: 12,311; xml: 10,049; sh: 3,502; makefile: 1,494; sed: 16
file content (19 lines) | stat: -rwxr-xr-x 676 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /usr/bin/make -f

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

%:
	dh "$@"

override_dh_auto_configure:
	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --bindir=\$${prefix}/games  --localstatedir=/var/games --sysconfdir=/etc

override_dh_install:
	rm $(CURDIR)/debian/tmp/usr/share/tuxtype/fonts -Rf
	dh_install

override_dh_installdocs:
	dh_installdocs
	# I'm not sure I really agree with Debian Policy Manual section 12.7 ...
	[ ! -d debian/tuxtype ] || mv debian/tuxtype/usr/share/doc/tuxtype/ChangeLog debian/tuxtype/usr/share/doc/tuxtype/changelog