Package list tigr-glimmer / a2ba7ce debian / rules
a2ba7ce

Tree @a2ba7ce (Download .tar.gz)

rules @a2ba7ceraw · history · blame

#!/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 --sourcedirectory=src -- CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)"