File: rules

package info (click to toggle)
microbegps 1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 166,568 kB
  • ctags: 265
  • sloc: python: 2,786; makefile: 10
file content (14 lines) | stat: -rwxr-xr-x 484 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export DH_VERBOSE := 1
export PYBUILD_NAME=microbegps
INTERPRETER=python2.7

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

override_dh_install:
	dh_install
	mkdir -p debian/$(PYBUILD_NAME)/usr/share/$(PYBUILD_NAME)
	mv debian/$(PYBUILD_NAME)/usr/lib/$(INTERPRETER)/dist-packages/microbegps/data debian/$(PYBUILD_NAME)/usr/share/$(PYBUILD_NAME)
	ln -s ../../../../share/$(PYBUILD_NAME)/data debian/$(PYBUILD_NAME)/usr/lib/$(INTERPRETER)/dist-packages/microbegps/