File: rules

package info (click to toggle)
python-crypto 2.0%2Bdp1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 752 kB
  • ctags: 927
  • sloc: ansic: 6,584; python: 3,578; makefile: 64; sh: 10
file content (17 lines) | stat: -rwxr-xr-x 479 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

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

MKHOWTO = /usr/lib/python2.3/doc/tools/mkhowto

common-build-arch::
	cd Doc && $(MKHOWTO) --ps

$(patsubst %,binary-post-install/%,$(DEB_PYTHON_REAL_LIB_PACKAGES)):: 
	sh -e debian/pathmangle.sh /usr/bin/$(shell echo $(cdbs_curpkg) | sed 's,-crypto$$,,') debian/$(cdbs_curpkg)

clean::
	rm -rf build
	rm -f Doc/*.ps