File: rules

package info (click to toggle)
undertaker 1.6.1-4.2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 131,620 kB
  • sloc: ansic: 35,624; cpp: 9,937; python: 6,018; sh: 2,682; makefile: 811; yacc: 702; lex: 502; perl: 291; lisp: 146
file content (20 lines) | stat: -rwxr-xr-x 472 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
#!/usr/bin/make -f

UPSTREAM_VERSION=$(shell cat VERSION)

%:
	dh $@ --with python2

override_dh_auto_build:
	cd undertaker && make REGENERATE_PARSERS=1 regenerate_parsers -j1
	dh_auto_build -- -j1

override_dh_auto_install:
	dh_auto_install -- DESTDIR="$(CURDIR)/debian/tmp" PREFIX=/usr ETCDIR=/etc SETUP_PY_INSTALL_EXTRA_ARG="--root $(CURDIR)/debian/tmp --install-layout=deb"

override_dh_auto_test:
	#$(MAKE) check

override_dh_auto_clean:
	$(MAKE) clean
	rm -rf build