File: rules

package info (click to toggle)
tigr-glimmer 3.02b-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 13,928 kB
  • ctags: 2,492
  • sloc: cpp: 24,416; awk: 232; csh: 220; makefile: 156; sh: 61
file content (27 lines) | stat: -rwxr-xr-x 631 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
24
25
26
27
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

MANPAGES=debian/glimmer2_mans/tigr-anomaly.1 \
	 debian/glimmer2_mans/tigr-build-icm.1 \
	 debian/glimmer2_mans/tigr-extract.1 \
	 debian/glimmer2_mans/tigr-glimmer3.1 \
	 debian/glimmer2_mans/tigr-long-orfs.1 \
	 debian/glimmer2_mans/tigr-run-glimmer3.1

.SUFFIXES: .1 .sgml

.sgml.1:
	docbook-to-man $< > $@

%:
	dh $@

override_dh_clean:
	dh_clean $(MANPAGES)
	cd src; make clean
	rm -f bin/* lib/* obj/*

override_dh_auto_build: $(MANPAGES)
	# dh_auto_build
	cd src; make CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)"