File: rules

package info (click to toggle)
pycollada 0.6-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,936 kB
  • sloc: python: 17,667; makefile: 98
file content (35 lines) | stat: -rwxr-xr-x 872 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
31
32
33
34
35
#!/usr/bin/make -f

%:
	dh $@ --buildsystem=pybuild --with python3

export PYTHONPATH :=  $(CURDIR).;

override_dh_installdocs:
	dh_installdocs
	make -C docs html
	cp -r docs/_build/html debian/python-collada-doc/usr/share/doc/python-collada-doc
	rm debian/python-collada-doc/usr/share/doc/python-collada-doc/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:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
    export PYTHONPATH=$(CURDIR); cd collada/tests; \
	python3 test_asset.py; \
	python3 test_camera.py; \
	python3 test_collada.py; \
	python3 test_geometry.py; \
	python3 test_iteration.py; \
	python3 test_light.py; \
	python3 test_material.py; \
	python3 test_scene.py; \
	python3 test_source.py
endif

override_dh_installchangelogs:
	dh_installchangelogs CHANGELOG.rst