File: rules

package info (click to toggle)
adonthell-data 0.3.6-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 24,860 kB
  • ctags: 456
  • sloc: python: 5,169; sh: 4,355; makefile: 415; sed: 16
file content (21 lines) | stat: -rwxr-xr-x 460 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
#!/usr/bin/make -f
#export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--prefix=/usr \
		--mandir=\$${prefix}/share/man \
		--with-data-dir=\$${prefix}/share/games/adonthell \
		--with-adonthell-binary=/usr/games/adonthell \
		--bindir=\$${prefix}/games \
		--disable-pyc

override_dh_auto_install:
	dh_auto_install -- \
		DESTDIR="$(CURDIR)/debian/adonthell-data"
	# Remove empty directories
	find . -type d -empty -delete