X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=bowtie.git;a=blobdiff_plain;f=debian%2Frules;fp=debian%2Frules;h=99e705be83ddf6d892dc2a6b8f896a4b88280207;hp=0000000000000000000000000000000000000000;hb=7ff6d33630733772d810e0ad76ed0a6ff60d612d;hpb=3cce4167a5b99fda4b9b372ee73494ed36dbcd59 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..99e705b --- /dev/null +++ b/debian/rules @@ -0,0 +1,32 @@ +#!/usr/bin/make -f +# debian/rules for bowtie +# Andreas Tille +# GPL + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p') + +%: + dh $@ + +override_dh_auto_build: + $(MAKE) allall + +override_dh_auto_install: + help2man --name="ultrafast memory-efficient short read aligner" --no-info \ + $(CURDIR)/bowtie > $(CURDIR)/debian/$(pkg)/usr/share/man/man1/bowtie.1 + help2man --name="building a colorspace index for bowtie" --no-info \ + $(CURDIR)/bowtie-build > $(CURDIR)/debian/$(pkg)/usr/share/man/man1/bowtie-build.1 + help2man --name="extracts information from a bowtie index" --no-info \ + $(CURDIR)/bowtie-inspect > $(CURDIR)/debian/$(pkg)/usr/share/man/man1/bowtie-inspect.1 + +override_dh_auto_clean: + rm -f .bowtie* + dh_auto_clean + +get-orig-source: + . debian/get-orig-source