Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 #export DH_VERBOSE=1
3 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
4
5 %:
6 dh $@
7
8 override_dh_auto_configure:
9 dh_auto_configure -- \
10 --prefix=/usr \
11 --mandir=\$${prefix}/share/man \
12 --bindir=\$${prefix}/games \
13 --datadir=\$${prefix}/share/games \
14 --disable-pyc
15
16
17 override_dh_auto_install:
18 dh_auto_install -- \
19 DESTDIR="$(CURDIR)/debian/adonthell"
20 #Remove the symlink and change binary name back to adonthell
21 rm -f $(CURDIR)/debian/adonthell/usr/games/adonthell
22 mv $(CURDIR)/debian/adonthell/usr/games/adonthell-0.3 \
23 $(CURDIR)/debian/adonthell/usr/games/adonthell
24 # Remove empty directories
25 find . -type d -empty -delete