File: rules

package info (click to toggle)
cytadela 1.1.0-5
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid, trixie
  • size: 82,796 kB
  • sloc: cpp: 11,228; sh: 787; makefile: 185
file content (24 lines) | stat: -rwxr-xr-x 648 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
#!/usr/bin/make -f
# -*- makefile -*-

%:
	dh  $@

override_dh_auto_configure:
	dh_auto_configure -- --bindir=/usr/games --datadir=/usr/share/games

override_dh_strip:
	dh_strip --dbgsym-migration='cytadela-dbg (<< 1.1.0-5~)'

override_dh_install:
	# Don't install docs in the datadir (cf. dh_installdocs)
	dh_install -Xcytadela/doc/

override_dh_installdocs:
	dh_installdocs
	# lintian extra-license-file - only if cytadela is built
	# (i.e. not for binary-indep/cytadela-data builds)
ifneq ($(filter cytadela, $(shell dh_listpackages)), )
	rm debian/cytadela/usr/share/doc/cytadela/COPYING
	rm debian/cytadela/usr/share/doc/cytadela/GNUFDL
endif