File: rules

package info (click to toggle)
bioperl 1.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 50,136 kB
  • sloc: perl: 172,618; xml: 22,869; lisp: 2,034; sh: 1,984; makefile: 19
file content (28 lines) | stat: -rwxr-xr-x 723 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
#!/usr/bin/make -f

ifneq (,$(DEB_MAINTAINER_MODE))
NETWORK = --network
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(NETWORK)

override_dh_clean:
	dh_clean build-stamp install-stamp bioperl.conf biodatabases.pod \
	biodesign.pod bioperl.pod bioscripts.pod

override_dh_install:
	dh_install
	# prename is the rename utility written in perl usually available as /usr/bin/rename in Debian.
	prename s/.pl$$// debian/bioperl/usr/bin/*pl
	prename s/.pl.1p$$/.1p/ debian/bioperl/usr/share/man/man1/*1p
	chmod 644 debian/libbio-perl-perl/usr/share/perl5/Bio/DB/HIV/lanl-schema.xml

override_dh_installchangelogs:
	dh_installchangelogs Changes 

override_dh_installexamples:
	dh_installexamples examples/*