File: rules

package info (click to toggle)
pycollada 0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 3,128 kB
  • ctags: 666
  • sloc: python: 16,840; makefile: 96
file content (33 lines) | stat: -rwxr-xr-x 778 bytes parent folder | download | duplicates (3)
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
31
32
33
#!/usr/bin/make -f

%:
	dh $@ --with python2

export PYTHONPATH :=  $(CURDIR).;

override_dh_installdocs:
	dh_installdocs
	make -C docs html
	cp -r docs/_build/html debian/python-collada/usr/share/doc/python-collada
	rm debian/python-collada/usr/share/doc/python-collada/html/_static/empty
	dh_sphinxdoc

override_dh_auto_clean:
	dh_auto_clean
	rm -rf pycollada.egg-info
	rm -rf docs/_build

override_dh_auto_test:
	export PYTHONPATH=$(CURDIR); cd collada/tests; \
		python test_asset.py; \
		python test_camera.py; \
		python test_collada.py; \
		python test_geometry.py; \
		python test_iteration.py; \
		python test_light.py; \
		python test_material.py; \
		python test_scene.py; \
		python test_source.py

override_dh_installchangelogs:
	dh_installchangelogs CHANGELOG.rst