[med-svn] [vista] 01/01: Added describe-current-version target to rules.

Luis Ibanez luisibanez-guest at moszumanska.debian.org
Tue Jan 7 00:42:42 UTC 2014


This is an automated email from the git hooks/post-receive script.

luisibanez-guest pushed a commit to branch master
in repository vista.

commit 4312cace083251d759087e7dd7d529e5494bbf7f
Author: Luis Ibanez <luis.ibanez at kitware.com>
Date:   Mon Jan 6 19:42:06 2014 -0500

    Added describe-current-version target to rules.
    
    Following suggestion from:
    http://debian-med.alioth.debian.org/docs/policy.html#git-tips
---
 debian/changelog | 1 +
 debian/rules     | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 3289610..d264912 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,5 +5,6 @@ vista-foia (0.20140106-1) UNRELEASED; urgency=low
   * Renamed the package as VistA-FOIA to have consistent naming with tar files.
   * Updated location of fis-gtm (version number in directory) and vista package VCS url.
   * Updated to VistA helper package to the most recent version: 20140106.
+  * Added "describe-current-version" target to debian/rules.
 
  -- Luis Ibanez <luis.ibanez at kitware.com>  Wed, 4 Jul 2012 17:16:45 -0500
diff --git a/debian/rules b/debian/rules
index f31a25a..a61dd4f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -43,3 +43,6 @@ get-orig-source:
 	wget -O../OSEHRA-VistA-M-897bff2a.orig.tar.gz https://github.com/OSEHRA/VistA-M/tarball/897bff2a
 	wget -O../OSEHRA-VistA-b34e6b28.orig.tar.gz https://github.com/OSEHRA/VistA/tarball/b34e6b28
 
+describe-current-version:
+	git describe --tags upstream | sed 's,^release-,,;s,-,+,;s,-,~,;'
+

-- 
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/vista.git



More information about the debian-med-commit mailing list