File: rules

package info (click to toggle)
python-laspy 2.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,928 kB
  • sloc: python: 9,065; makefile: 20
file content (15 lines) | stat: -rwxr-xr-x 482 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export PYBUILD_NAME = laspy

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_install:
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
	pandoc $(CURDIR)/CHANGELOG.md -o $(CURDIR)/CHANGELOG.rst
	PYTHONPATH=$(shell pybuild --print {build_dir} --interpreter python3) \
	python3 -m sphinx -b html docs $(CURDIR)/debian/python-laspy-doc/usr/share/doc/python-laspy-doc/html
	rm $(CURDIR)/debian/python-laspy-doc/usr/share/doc/python-laspy-doc/html/.nojekyll
endif