File: rules

package info (click to toggle)
cxxtest 4.4%2Bgit230824-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 2,836 kB
  • sloc: cpp: 9,570; python: 9,553; xml: 435; sh: 258; ruby: 229; makefile: 86; ansic: 68; perl: 16
file content (37 lines) | stat: -rwxr-xr-x 911 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
30
31
32
33
34
35
36
37
#!/usr/bin/make -f
# -*- makefile -*-

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

export PYBUILD_NAME = cxxtest
export PYBUILD_INSTALL_ARGS = --install-lib=/usr/share/cxxtest --install-script=/usr/share/cxxtest

pybuild_opts := --buildsystem=pybuild -- --dir $(CURDIR)/python


override_dh_auto_clean:
	dh_auto_clean $(pybuild_opts)

override_dh_auto_configure:
	@echo No configuration step exists

override_dh_auto_build:
	dh_auto_build $(pybuild_opts)
	$(MAKE) -C doc all PY=python3

override_dh_auto_test:
	@echo No self-testing step exists

override_dh_auto_install:
	dh_auto_install $(pybuild_opts)

override_dh_installchangelogs:
	dh_installchangelogs $(CURDIR)/Versions

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

.PHONY: override_dh_auto_clean override_dh_auto_configure \
	override_dh_auto_build override_dh_auto_test \
	override_dh_auto_install override_dh_installchangelogs