File: rules

package info (click to toggle)
gpxviewer 0.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 656 kB
  • ctags: 618
  • sloc: python: 3,865; makefile: 7
file content (9 lines) | stat: -rwxr-xr-x 429 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/usr/bin/make -f
%:
	dh $@ --with python2

override_dh_auto_install:
	python setup.py install --root=debian/gpxviewer --install-lib=/usr/share/gpxviewer/ --install-scripts=/usr/share/gpxviewer/scripts/
	mv debian/gpxviewer/usr/share/gpxviewer/scripts/gpxviewer debian/gpxviewer/usr/share/gpxviewer/gpxviewer_run
	rm -r debian/gpxviewer/usr/share/gpxviewer/scripts
	dh_link /usr/share/gpxviewer/gpxviewer_run /usr/bin/gpxviewer