File: rules

package info (click to toggle)
qrupdate 1.1.5-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,528 kB
  • sloc: fortran: 63,512; sh: 48; perl: 17; makefile: 11
file content (19 lines) | stat: -rwxr-xr-x 423 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
#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

%:
	dh $@

# Ensure that we pick generic BLAS and LAPACK
override_dh_auto_configure:
	dh_auto_configure -- -DBLA_PREFER_PKGCONFIG=TRUE

execute_after_dh_auto_build:
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
#extract docs from sources
	cat src/*.f | perl debian/get-function-ref.pl > function-reference
endif

execute_after_dh_auto_clean:
	rm -f function-reference