File: rules

package info (click to toggle)
empy 3.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,152 kB
  • sloc: python: 2,457; sh: 22; makefile: 8
file content (16 lines) | stat: -rwxr-xr-x 430 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
# -*- makefile -*-

export DH_OPTIONS
export PYBUILD_NAME=empy

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

override_dh_auto_install:
	dh_auto_install

        # version 2 provides the binary using just empy
	install -m 755 em.py $(CURDIR)/debian/python-empy/usr/bin/empy
        # version 3 provides the binary under the name empy3
	install -m 755 em.py $(CURDIR)/debian/python3-empy/usr/bin/empy3