File: rules

package info (click to toggle)
pyninjotiff 0.4.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 452 kB
  • sloc: python: 5,004; makefile: 7
file content (14 lines) | stat: -rwxr-xr-x 404 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME=pyninjotiff
export PYBUILD_AFTER_INSTALL=\
rm -rf "{destdir}"/usr/lib/python3*/*-packages/pyninjotiff/*ninjotif*example*; \
chmod -x "{destdir}"/usr/lib/python3*/*-packages/pyninjotiff/ninjotiff.py
export PYBUILD_TEST_ARGS=--pyargs ${PYBUILD_NAME}

%:
	dh $@ --buildsystem=pybuild