rules 572 Bytes
Newer Older
Ansgar Burchardt's avatar
Ansgar Burchardt committed
1
2
3
4
#! /usr/bin/make -f

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

Ansgar Burchardt's avatar
Ansgar Burchardt committed
5
DUNE_CTEST := $(CURDIR)/bin/dune-ctest
Ansgar Burchardt's avatar
Ansgar Burchardt committed
6
7
8
9
DUNE_DEBIAN_DUNECONTROL := $(CURDIR)/bin/dunecontrol
include debian/dune-debian.mk

%:
Ansgar Burchardt's avatar
Ansgar Burchardt committed
10
	dh $@ --parallel --builddirectory=build
Ansgar Burchardt's avatar
Ansgar Burchardt committed
11

Ansgar Burchardt's avatar
Ansgar Burchardt committed
12
13
override_dh_auto_build-indep:
	dh_auto_build -- doc
14

Ansgar Burchardt's avatar
Ansgar Burchardt committed
15
override_dh_install-arch:
16
	mv debian/tmp/usr/bin/am2cmake.py debian/tmp/usr/bin/dune-am2cmake
17
	mv debian/tmp/usr/bin/git-whitespace-hook debian/tmp/usr/bin/dune-git-whitespace-hook
Ansgar Burchardt's avatar
Ansgar Burchardt committed
18
	dh_install -a
19

Ansgar Burchardt's avatar
Ansgar Burchardt committed
20
21
override_dh_strip:
	dh_strip --dbg-package=libdune-common-dbg