NF: provide debian/rules build-standalone

This commit is contained in:
Yaroslav Halchenko 2015-04-20 11:29:32 -04:00 committed by Joey Hess
parent 38e03d5b3a
commit bfef0ba69f
3 changed files with 35 additions and 9 deletions

16
debian/create-standalone-changelog vendored Executable file
View file

@ -0,0 +1,16 @@
#!/bin/bash
#
# A little helper script to build a package with standalone git-annex
# It relies on being run within git-annex Git repository
#
set -eu
umask 022
git checkout debian/changelog
ANNEX_VERSION=$(git describe HEAD)
ANNEX_NDVERSION=$( echo ${ANNEX_VERSION} | sed -e 's,-,+git,' -e 's,$,-1~ndall+1,')
dch --noconf -v ${ANNEX_NDVERSION} \
--force-bad-version --force-distribution -D neurodebian "Backported fresh snapshot"