-
Notifications
You must be signed in to change notification settings - Fork 6
/
rules
executable file
·23 lines (18 loc) · 916 Bytes
/
rules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
%:
dh $@ --parallel -Dsource
# Build in dh_auto_install target because Makefile
# decides to rebuild if flags change (DESTDIR)
override_dh_auto_build:
# Requires X
override_dh_auto_test:
override_dh_auto_install:
dh_auto_install -- TILES=1 prefix=/usr DATADIR=/usr/share/games/stone-soup SAVEDIR='~/.config/stone-soup'
# We need the executable in a different directory.
mv debian/stone-soup/usr/games/crawl debian/stone-soup/usr/lib/games/stone-soup/crawl
cd debian/stone-soup && rm usr/share/games/stone-soup/docs/license/libpng-LICENSE.txt \
usr/share/games/stone-soup/docs/license/lualicense.txt \
usr/share/games/stone-soup/docs/license/pcre_license.txt && \
chmod -x usr/share/games/stone-soup/dat/tiles/title_psiweapon_kiku.png
override_dh_installchangelogs:
dh_installchangelogs docs/changelog.txt