File: rules

package info (click to toggle)
pype 2.9.1-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,292 kB
  • sloc: python: 13,861; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 360 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# -*- makefile -*-
clean:
# Deleting the upstream setup.py, because it is windows only, 
# and breaks the build
	rm -f setup.py
# Delete the backup made by bomstrip
	rm -f pype.py.bom
	find ./ -name '*.pyc' -delete
	dh_clean

override_dh_auto_build:
	dos2unix * plugins/*
	bomstrip-files pype.py
	chmod 755 pype.py

%:
	dh $@ --with python2