File: rules

package info (click to toggle)
mintpy 1.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,288 kB
  • sloc: python: 38,581; javascript: 6,880; sh: 376; makefile: 16
file content (21 lines) | stat: -rwxr-xr-x 616 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
#! /usr/bin/make -f

export PYBUILD_TEST_CUSTOM=1
export PYBUILD_TEST_ARGS=env PYTHONPATH={build_dir} {interpreter} $(CURDIR)/tests/asc_desc2horz_vert.py
export PYBUILD_AFTER_INSTALL=rm -rf '{destdir}/{install_dir}/mintpy/sh'

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_build: export http_proxy=127.0.0.1:9
override_dh_auto_build: export https_proxy=127.0.0.1:9
override_dh_auto_build:
	dh_auto_build
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
	mkdocs build -c -f mkdocs.yml --no-directory-urls -d .pybuild/docs/html
else
	mkdir -p .pybuild/docs/html
endif

override_dh_numpy3:
	dh_numpy3 -p python3-mintpy