File: rules

package info (click to toggle)
htseq 0.13.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,884 kB
  • sloc: cpp: 5,301; python: 3,474; makefile: 11
file content (22 lines) | stat: -rwxr-xr-x 521 bytes parent folder | download | duplicates (2)
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

export PYBUILD_NAME=htseq

# see https://wiki.debian.org/Python/LibraryStyleGuide
export http_proxy=http://127.0.9.1:9

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

# for setup.py
export CYTHON=cython3

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

override_dh_auto_clean:
	dh_auto_clean
	# setup.py creates some symlinks in clean target
	# remove these links to keep source tree clean
	for link in 'src' 'HTSeq' 'doc' 'scripts' 'test' ; do \
	  if [ -L $${link} ] ; then rm $${link} ; fi \
	done