File: rules

package info (click to toggle)
cdftools 4.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,980 kB
  • sloc: f90: 43,175; makefile: 446; sh: 96; ada: 22
file content (21 lines) | stat: -rwxr-xr-x 500 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
#!/usr/bin/make -f

export DH_VERBOSE=1

# The magic debhelper  rule
%:
	dh $@  --buildsystem=fortran --with=fortran

#DESTDIR:=debian/cdftools

execute_after_dh_auto_build:
	$(MAKE) -C DOC pdf

execute_after_dh_auto_clean:
	$(MAKE) -C DOC clean
	rm -f  DOC/*.pdf DOC/*.docs

#override_dh_auto_install:
#	$(MAKE) -C src install INSTALL=`pwd`/debian/tmp
#	mkdir -p $(DESTDIR)//usr/share/bash-completion/completions
#	cp debian/bash.completion $(DESTDIR)/usr/share/bash-completion/completions/cdftools