File: rules

package info (click to toggle)
clustalx 2.1%2Blgpl-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,868 kB
  • sloc: cpp: 40,050; sh: 163; xml: 102; makefile: 15
file content (23 lines) | stat: -rwxr-xr-x 583 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	qmake-qt4
	# did not found a better way to push hardening flags into Makefile
	sed -i -e "s:CFLAGS *= .*:& $(CFLAGS):" \
	       -e "s:CXXFLAGS *= .*:& $(CXXFLAGS):" \
	       -e "s:LFLAGS *= .*:& $(LDFLAGS):" Makefile

override_dh_clean:
	$(RM) moc_*
	dh_clean

override_dh_installchangelogs:
	dh_installchangelogs debian/CHANGELOG.upstream

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