File: rules

package info (click to toggle)
pychess 0.12~beta3-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 12,976 kB
  • ctags: 3,647
  • sloc: python: 27,592; makefile: 15; sh: 6
file content (21 lines) | stat: -rwxr-xr-x 435 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

%:
	dh --with python2 $@

override_dh_clean::
	dh_clean
	$(RM) lang/*/LC_MESSAGES/*.mo

override_dh_install:
	dh_install
	$(RM) -r debian/pychess/usr/bin
	dh_install pychess /usr/games/

override_dh_fixperms:
	dh_fixperms
	find debian/pychess/usr/share -type f -executable | xargs chmod -x
	chmod +x debian/pychess/usr/share/python/runtime.d/pychess.rtupdate

get-orig-source:
	-uscan --upstream-version 0 --rename