File: rules

package info (click to toggle)
crimson 0.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,968 kB
  • sloc: cpp: 21,862; ansic: 1,722; xml: 1,625; sh: 994; makefile: 277
file content (20 lines) | stat: -rwxr-xr-x 576 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_BUILD_MAINT_OPTIONS

DEB_INSTALL_MANPAGES_crimson := debian/cf2bmp.6

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --bindir=/usr/games --datadir=/usr/share/games --enable-cfed --enable-bi2cf --enable-comet --enable-sound --enable-cf2bmp

execute_after_dh_install:
	# Install xpm file.
	mkdir -p debian/crimson/usr/share/pixmaps
	cp debian/crimson.xpm debian/crimson/usr/share/pixmaps
	$(RM) -r debian/crimson/usr/share/games/applications
	$(RM) -r debian/crimson/usr/share/games/pixmaps