File: rules

package info (click to toggle)
micropolis-activity 0.0.20071228-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 24,932 kB
  • sloc: ansic: 84,362; tcl: 12,083; makefile: 676; cpp: 541; yacc: 490; csh: 234; python: 190; sed: 32; sh: 23
file content (18 lines) | stat: -rwxr-xr-x 636 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
#export DH_VERBOSE=1

%:
	dh $@ --no-parallel

override_dh_install:
	## change permissions of sound files
	find $(CURDIR)/res -name "*.wav" | while read a; do chmod -x $$a; done
	chmod +x $(CURDIR)/res/sounds/player
	## rename files and install Changes as upstream changelog
	cp $(CURDIR)/Micropolis $(CURDIR)/micropolis
	cp $(CURDIR)/src/notes/Changes $(CURDIR)/Changelog
	## install all files
	dh_install
	## remove arch-dependent files and embedded fonts
	rm -f $(CURDIR)/debian/micropolis-data/usr/share/games/micropolis/res/dejavu-lgc/*
	rm -f $(CURDIR)/debian/micropolis-data/usr/share/games/micropolis/res/sim