File: rules

package info (click to toggle)
splash 3.11.7-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 7,140 kB
  • sloc: f90: 56,721; ansic: 2,435; python: 828; makefile: 603; cpp: 529; perl: 219; sh: 152
file content (31 lines) | stat: -rwxr-xr-x 580 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
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

export SYSTEM=gfortran

%:
	dh $@ --no-parallel

override_dh_installdocs:
	$(MAKE) docs
	dh_installdocs

override_dh_installman:
	mkdir -p man
	help2man ./bin/splash | sed "s/^.*manual page for SPLASH:/splash \\-\\-/" > man/splash.1
	for i in `ls bin` ; do \
	  if [ ! -f man/$$i.1 ] ; then \
	    ln -s splash.1 man/$$i.1 ; \
	  fi ; \
	done
	dh_installman

override_dh_auto_clean:
	make clean

override_dh_dwz:
	true # workaround mysterious error