File: rules

package info (click to toggle)
opari2 2.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,388 kB
  • sloc: cpp: 8,258; ansic: 5,177; sh: 5,132; f90: 530; fortran: 341; makefile: 254; awk: 175
file content (27 lines) | stat: -rwxr-xr-x 822 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
24
25
26
27
#!/usr/bin/make -f

%:
	dh $@

autocruft = Makefile.in build-frontend/Makefile.in \
	    configure build-frontend/configure \
	    aclocal.m4 build-frontend/aclocal.m4 \
	    src/config-frontend.h.in \
	    build-config/depcomp build-config/install-sh build-config/missing build-config/ltmain.sh build-config/test-driver \
	    vendor/common/build-config/m4/ltversion.m4

override_dh_autoreconf:
	dh_autoreconf autoreconf -- -f -i . build-frontend

override_dh_auto_configure:
	ac_scorep_platform=linux dh_auto_configure -- --enable-shared

override_dh_installdocs:
	dh_installdocs
	rm -f debian/libpomp2-doc/usr/share/doc/opari2/html/jquery.js
	find debian/*-doc/ -name Makefile -print0 | xargs -0r \
		sed -i -e 's@ [^ ]*-f\(file\|debug\)-prefix-map=[^ ]*@@g'

override_dh_auto_clean:
	dh_auto_clean
	$(RM) $(autocruft)