File: rules

package info (click to toggle)
splash 2.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,460 kB
  • ctags: 4,287
  • sloc: f90: 47,786; ansic: 11,793; makefile: 953; lex: 823; perl: 535; cpp: 529; sh: 211
file content (24 lines) | stat: -rwxr-xr-x 456 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
20
21
22
23
24
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export SYSTEM=gfortran

%:
	dh $@

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_clean:
	dh_clean