dune-debian.mk 1012 Bytes
Newer Older
Ansgar Burchardt's avatar
Ansgar Burchardt committed
1
2
3
4
5
6
7
8
9

DUNE_DEBIAN_DUNECONTROL ?= /usr/bin/dunecontrol
DUNE_DEBIAN_CONFIGURE_FLAGS ?= \
	--enable-parallel \
	--enable-shared \
	--with-alberta=/usr \
	--with-gmp \
	--without-grape \
	--without-metis \
10
	--without-parmetis \
Ansgar Burchardt's avatar
Ansgar Burchardt committed
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
	--with-superlu \
	--without-ug \
	--without-x

override_dh_auto_configure:
	$(DUNE_DEBIAN_DUNECONTROL) autogen
	dh_auto_configure -- $(DUNE_DEBIAN_CONFIGURE_FLAGS)

override_dh_auto_test:
	# OpenMPI expects rsh/ssh to be in PATH even when it only starts local processes:
	mkdir debian/tmp-test
	ln -s /bin/false debian/tmp-test/ssh
	ln -s /bin/false debian/tmp-test/rsh
	PATH=$(CURDIR)/debian/tmp-test:$$PATH dh_auto_test
	rm -rf debian/tmp-test

override_dh_clean:
	dh_clean
	find . -name Makefile.in -delete
30
	rm -f aclocal.m4 compile config.guess config.h.in config.sub configure dependencies.m4 depcomp install-sh ltmain.sh missing test-driver
Ansgar Burchardt's avatar
Ansgar Burchardt committed
31
32
	rm -rf doc/doxygen/Doxyfile.in doc/doxygen/doxyerr.log doc/doxygen/doxygen-tag doc/doxygen/doxygen.log doc/doxygen/html
	rm -rf debian/tmp-test