File: rules

package info (click to toggle)
python3-defaults 3.1.3-12%2Bsqueeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 656 kB
  • ctags: 132
  • sloc: python: 1,616; makefile: 311; sh: 132; perl: 5
file content (22 lines) | stat: -rwxr-xr-x 449 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
#!/usr/bin/make -f
%:
	dh $@

override_dh_auto_install:
	python3 setup.py install --root=debian/python3-foo/

override_dh_pysupport:
	find debian/ -name jquery.js -exec \
	ln -fs /usr/share/javascript/jquery/jquery.js '{}' \;
	DH_VERBOSE=1 ../../dh_python3\
		--depends 'SQLAlchemy >= 0.6.1'\
		--recommends Mako\
		--suggests 'Foo >= 0.1'\
		--suggests 'bar >= 1.0'

clean:
	rm -rf build
	dh clean

override_dh_auto_clean:
	#python3 setup.py clean