File: rules

package info (click to toggle)
dioptas 0.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 163,396 kB
  • sloc: python: 28,770; makefile: 24; xml: 9; sh: 3
file content (21 lines) | stat: -rwxr-xr-x 909 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
#!/usr/bin/make -f

# This file was automatically generated by stdeb 0.10.0 at
# Sun, 26 Sep 2021 18:29:55 +0200
export PYBUILD_NAME=dioptas
%:
	dh $@ --with python3 --buildsystem=pybuild

execute_after_dh_auto_build:
	make -C docs SPHINXBUILD="python3 -msphinx" man html
	rm -f $(CURDIR)/debian/dioptas/usr/share/doc/dioptas/html/_static/jquery.js
	rm -f $(CURDIR)/debian/dioptas/usr/share/doc/dioptas/html/_static/doctools.js
	rm -f $(CURDIR)/debian/dioptas/usr/share/doc/dioptas/html/_static/searchtools.js
	rm -f $(CURDIR)/debian/dioptas/usr/share/doc/dioptas/html/_static/underscore.js
	rm -f $(CURDIR)/debian/dioptas/usr/share/doc/dioptas/html/_static/language_data.js

execute_after_dh_auto_clean:
	rm -f dioptas/model/util/smooth_bruckner_cython.c

override_dh_auto_test:
	(unset SUDO_USER ; QT_QPA_PLATFORM=offscreen DATA_PATH=$(CURDIR)/dioptas/tests/data dh_auto_test --buildsystem=pybuild) || true