Now with real glyphs
[naja.git] / debian / rules
1 #!/usr/bin/make -f
2
3 %:
4         dh $@ --with python2
5
6 override_dh_auto_build:
7         dh_auto_build
8
9 override_dh_auto_install:
10         dh_auto_install -- --install-lib=/usr/share/robolock-ii
11         rm -rf debian/robolock-ii/usr/bin
12         rm -rf debian/robolock-ii/usr/*.txt
13
14 override_dh_install:
15         dh_install
16         chmod +x debian/robolock-ii/usr/share/robolock-ii/run_game.py
17
18 override_dh_clean:
19         dh_clean
20         rm -rf build
21
22 override_dh_python2:
23         dh_python2 --no-guessing-deps
24         # Maximum installability
25         sed -i -e 's/python:any/python/g' \
26             -e 's/>= 2\.7\.[0-9-]*~*/>= 2.6.6-7~/g' \
27             debian/robolock-ii.substvars