File: rules

package info (click to toggle)
montage 6.0+dfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 23,116 kB
  • sloc: ansic: 205,662; python: 1,621; makefile: 1,546; sh: 157; xml: 48
file content (29 lines) | stat: -rwxr-xr-x 660 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_SYSTEM=distutils
export PYBUILD_NAME=montagepy
export PYBUILD_BEFORE_CONFIGURE=python3 parse.py

%:
	dh $@ --with python3

override_dh_auto_configure:
	dh_auto_configure
	ln -sf setup_manylinux.py python/MontagePy/setup.py
	dh_auto_configure -Spybuild -D python/MontagePy

override_dh_auto_build:
	mkdir -p lib/include bin
	dh_auto_build
	dh_auto_build -Spybuild -D python/MontagePy

override_dh_auto_install:
	dh_auto_install
	dh_auto_install -Spybuild -D python/MontagePy

override_dh_installchangelogs:
	dh_installchangelogs ChangeHistory