File: rules

package info (click to toggle)
cxxtest 4.4+git171022-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,820 kB
  • sloc: cpp: 9,567; python: 9,553; xml: 435; sh: 258; ruby: 229; makefile: 86; ansic: 68; perl: 16
file content (35 lines) | stat: -rwxr-xr-x 1,014 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
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/make -f
# -*- makefile -*-

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

export DH_OPTIONS
export DH_ALWAYS_EXCLUDE=.svn:.cvsignore:CVS

DEB_PYTHON2_MODULE_PACKAGES = cxxtest
DEB_PYTHON_DISTUTILS_SRCDIR = $(CURDIR)/python

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk

DEB_PYTHON_INSTALL_ARGS_ALL += --install-layout=deb --install-lib=/usr/share/cxxtest --install-script=/usr/share/cxxtest
DEB_INSTALL_CHANGELOGS_ALL += Versions

build/cxxtest:: build

build:
	make -C doc all

clean::
	rm -fr "$(CURDIR)/build/"
	rm -fr "$(CURDIR)/python/cxxtest.egg-info/"
	rm -f "$(CURDIR)/doc/guide.epub"
	rm -f "$(CURDIR)/doc/guide.html"
	rm -f "$(CURDIR)/doc/guide.pdf"
	rm -f "$(CURDIR)/doc/examples/.MyTestSuite2_.h"
	rm -f $(CURDIR)/doc/examples/.Assertions*
	rm -f $(CURDIR)/doc/examples/.buildRunner*
	rm -f "$(CURDIR)/doc/examples/cxxtestgen.out"
#	find "$(DEB_PYTHON_DISTUTILS_SRCDIR)" -prune -name '*.egg-info' -exec rm -rf '{}' ';'