File: rules

package info (click to toggle)
clustalw 2.1%2Blgpl-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,620 kB
  • sloc: cpp: 27,857; sh: 3,805; xml: 822; makefile: 153
file content (22 lines) | stat: -rwxr-xr-x 664 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with autotools_dev

override_dh_installchangelogs:
	dh_installchangelogs debian/CHANGELOG.upstream

override_dh_install:
	dh_install
	# We have to ask upstream if it is important for them that the binary is named clustalw2
	mv $(CURDIR)/debian/clustalw/usr/bin/clustalw2 $(CURDIR)/debian/clustalw/usr/bin/clustalw

	# That is a bit ugly and should be better investigated.
	rmdir $(CURDIR)/debian/clustalw/usr/share/aclocal/

get-upstream-changelog:
	# Get upstream changelog
	cd debian; wget -N --output-document=CHANGELOG.upstream http://www.clustal.org/download/current/CHANGELOG