| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
# debian/rules for cdbfasta |
| 4 |
# Author: Tim Booth <[email protected]> |
| 5 |
|
| 6 |
# Uncomment this to turn on verbose mode. |
| 7 |
#export DH_VERBOSE=1 |
| 8 |
|
| 9 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 10 |
include /usr/share/dpkg/buildtools.mk |
| 11 |
|
| 12 |
%: |
| 13 |
dh $@ |
| 14 |
|
| 15 |
override_dh_auto_build: |
| 16 |
dh_auto_build -- LINKER="$(CXX) $(LDFLAGS)" |
| 17 |
|
| 18 |
override_dh_installman: |
| 19 |
help2man --no-info --no-discard-stderr --version-option=-v ./cdbfasta |\ |
| 20 |
sed 's/^Invalid argument:.*//' |\ |
| 21 |
sed 's/manual page for cdbfasta version .*/Creates an index file for records from a multi-fasta file./' \ |
| 22 |
> $(CURDIR)/debian/`dh_listpackages`/usr/share/man/man1/cdbfasta.1 |
| 23 |
help2man --no-info --no-discard-stderr --version-option=-v ./cdbyank |\ |
| 24 |
sed 's/^Invalid argument:.*//' |\ |
| 25 |
sed 's/manual page for cdbyank version .*/Query an index file created with cdbfasta./' \ |
| 26 |
> $(CURDIR)/debian/`dh_listpackages`/usr/share/man/man1/cdbyank.1 |