File: rules

package info (click to toggle)
ngspetsc 0.1.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,120 kB
  • sloc: python: 3,391; makefile: 44; sh: 27
file content (22 lines) | stat: -rwxr-xr-x 688 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

# See debhelper(7) (uncomment to enable).
# Output every command that modifies files on the build system.
#export DH_VERBOSE = 1

export PYBUILD_NAME=ngspetsc

# ngsolve itself is not yet packaged
# for debian, only run fenicsx tests
export PYBUILD_TEST_ARGS=-v -k test_fenicsx

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

execute_after_dh_auto_build-indep: export http_proxy=127.0.0.1:9
execute_after_dh_auto_build-indep: export https_proxy=127.0.0.1:9
execute_after_dh_auto_build-indep:
	PYTHONPATH=. make html -C docs BUILDDIR=$(CURDIR)/.pybuild/docs

execute_after_dh_auto_test:
	rm -rf $(CURDIR)/.pybuild/cpython3_*_ngspetsc/build/mixed_mesh.vtkhdf