File: rules

package info (click to toggle)
python-trml2pdf 1.0-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 452 kB
  • ctags: 61
  • sloc: python: 549; makefile: 9
file content (16 lines) | stat: -rwxr-xr-x 542 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

DEB_PYTHON_SYSTEM := pysupport

PKG = $(shell dh_listpackages)

include /usr/share/cdbs/1/rules/buildcore.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

binary-post-install/python-trml2pdf::
	# Setup the module as executable too
	chmod 755 debian/$(PKG)/usr/share/python-support/python-trml2pdf/trml2pdf/trml2pdf.py
	ln -sf ../share/python-support/python-trml2pdf/trml2pdf/trml2pdf.py debian/$(PKG)/usr/bin/trml2pdf