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
|