File: rules

package info (click to toggle)
pyx 0.10-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,316 kB
  • ctags: 2,779
  • sloc: python: 16,243; ansic: 131; makefile: 87; sh: 9
file content (30 lines) | stat: -rwxr-xr-x 602 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/make -f

%:
	dh --with quilt $@

binary: binary-arch binary-indep

# build arch-indep files in the binary-indep target to prevent FTBFS on buildd
binary-indep: doc install
	dh $@

doc:
	make -C faq pdf
	make -C manual pdf

override_dh_auto_clean:
	make -C faq clean
	make -C manual clean
	dh_auto_clean

override_dh_compress:
	dh_compress --all -X.pdf

override_dh_fixperms:
	dh_fixperms
	find debian/python-pyx-doc/usr/share/doc/python-pyx-doc/examples/ \
		-type f -print0 | \
		xargs -0r chmod 0644

.PHONY: install doc binary binary-indep doc override_dh_auto_clean override_dh_compress