File: rules

package info (click to toggle)
kim-api 2.4.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,628 kB
  • sloc: cpp: 32,594; f90: 12,746; ansic: 3,041; sh: 1,283; lisp: 130; python: 35; makefile: 13
file content (19 lines) | stat: -rwxr-xr-x 380 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

homedir = $(CURDIR)/debian/home
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export HOME = $(homedir)

%:
	dh $@ --with fortran_mod

override_dh_auto_configure:
	mkdir -p $(homedir)
	dh_auto_configure -- -DKIM_API_BUILD_EXAMPLES=ON

override_dh_compress:
	dh_compress -X.cpp -X.hpp -X.F90 -X.c -X.txt -X.sh

override_dh_clean:
	dh_clean
	rm -rf debian/home