Commit cf477d94 authored by Michael R. Crusoe's avatar Michael R. Crusoe

use simpler method to retrieve package version

fix version usage
parent 7ee76044
......@@ -14,7 +14,7 @@
# Uncomment to check dependencies during build:
# export GEM2DEB_TEST_RUNNER = --check-dependencies
version=$(shell dpkg-parsechangelog -ldebian/changelog | grep Version: | cut -f2 -d' ' | cut -f1 -d-)
version=$(shell dpkg-parsechangelog -SVersion)
%:
dh $@ --buildsystem=ruby --with ruby
......@@ -23,7 +23,7 @@ override_dh_auto_build:
dh_auto_build
RUBYLIB=lib/fix-trinity-output help2man --no-info \
--name "Fix output fastq files from Trinity" \
--version-string=$version bin/fix-trinity-output \
--version-string=$(version) bin/fix-trinity-output \
> debian/fix-trinity-output.1
override_dh_auto_clean:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment