File: rules

package info (click to toggle)
gerris 20131206%2Bdfsg-21
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,252 kB
  • sloc: ansic: 66,595; sh: 15,922; f90: 1,513; makefile: 1,150; fortran: 696; python: 493; awk: 104; lisp: 89; xml: 27
file content (23 lines) | stat: -rwxr-xr-x 549 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-mpi

override_dh_auto_install:
	dh_auto_install
	find $(CURDIR)/debian/ -name "*.la" | xargs rm -f
	sed -i -e "s/mpicc/gcc/g" $(CURDIR)/debian/tmp/usr/share/gerris/build_function
	rm -rf $(CURDIR)/debian/tmp/usr/bin/darcs2dist
	rm -rf $(CURDIR)/debian/tmp/usr/bin/gfs2doc

override_dh_installchangelogs:
	dh_installchangelogs ChangeLog

# test suite is written in python2, so don't run
override_dh_auto_test: