File: rules

package info (click to toggle)
acm 6.0%2B20200416-1.1
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 5,956 kB
  • sloc: ansic: 49,163; tcl: 941; makefile: 644; sh: 594
file content (29 lines) | stat: -rwxr-xr-x 1,207 bytes parent folder | download | duplicates (3)
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
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1


# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# Except we'll also have to put this into the individual src/*/Makefiles

# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed


%:
	dh $@

override_dh_install:
	install src/acm/acm.exe debian/acm/usr/games/acm
	install -t debian/acm/usr/games/ acm.tcl
	install src/dis/server/dis_relay.exe debian/acm/usr/games/dis_relay
	install -t debian/acm/usr/share/games/acm/objects objects/*.txt objects/*.COF objects/*.obv
	for d in features zones/usa zones/middleeast zones/europe missiles sounds aircraft; do install -t debian/acm/usr/share/games/acm/objects/"$${d}" objects/"$${d}"/*.*; done
	install debian/icons/acm.xpm debian/acm/usr/share/pixmaps/acm.xpm
	for r in 64x64 96x96 128x128 256x256; do uudecode -o debian/acm/usr/share/icons/hicolor/$${r}/apps/acm.png debian/icons/acm-$${r}.png.b64 ;done