File: rules

package info (click to toggle)
epoptes 0.5.10-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,784 kB
  • ctags: 559
  • sloc: python: 2,596; sh: 429; makefile: 9
file content (18 lines) | stat: -rwxr-xr-x 446 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# -*- makefile -*-

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

# Fall back to python-central on systems that lack dh_python2
PYTHON_VARIANT = $(shell test -f /usr/bin/dh_python2 && echo "python2")
ifeq ($(PYTHON_VARIANT),)
	PYTHON_VARIANT=python_central
	export DH_PYCENTRAL=include-links dh_pycentral -i
endif

%:
	dh $@ --with $(PYTHON_VARIANT)

override_dh_installinit:
	dh_installinit -u"defaults 30"