File: rules

package info (click to toggle)
pysolfc 2.0-4
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 19,212 kB
  • ctags: 10,328
  • sloc: python: 61,014; tcl: 4,529; makefile: 54; sh: 17
file content (20 lines) | stat: -rwxr-xr-x 605 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
#!/usr/bin/make -f

%:
	dh $@ --with python2 --buildsystem=python_distutils

override_dh_auto_install:
	dh_auto_install --buildsystem=python_distutils \
			-- --install-scripts=/usr/share/games/pysolfc \
			   --install-lib /usr/share/games/pysolfc/
	find debian/pysolfc/usr/share/games/pysolfc/ -name "COPYRIGHT" -delete

override_dh_installdocs:
	dh_installdocs
	mv debian/pysolfc/usr/share/doc/pysolfc/all_games.html \
	   debian/pysolfc/usr/share/doc/pysolfc/html/

override_dh_installman:
	dh_installman
	mv debian/pysolfc/usr/share/man/man6/pysol.6 \
	   debian/pysolfc/usr/share/man/man6/pysolfc.6