File: rules

package info (click to toggle)
splash 2.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 6,712 kB
  • sloc: f90: 49,481; ansic: 2,280; python: 772; makefile: 650; cpp: 529; perl: 164; sh: 122
file content (27 lines) | stat: -rwxr-xr-x 531 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
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
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