Author: tille
Date: 2012-04-22 19:35:48 +0000 (Sun, 22 Apr 2012)
New Revision: 10517

Modified:
   trunk/packages/bowtie/trunk/debian/changelog
   trunk/packages/bowtie/trunk/debian/rules
Log:
Calculate package name


Modified: trunk/packages/bowtie/trunk/debian/changelog
===================================================================
--- trunk/packages/bowtie/trunk/debian/changelog        2012-04-22 19:22:35 UTC 
(rev 10516)
+++ trunk/packages/bowtie/trunk/debian/changelog        2012-04-22 19:35:48 UTC 
(rev 10517)
@@ -5,6 +5,7 @@
      - fixed Vcs fields
      - Standards-Version: 3.9.3 (no changes needed)
   * debian/upstream: Add citation information
+  * debian/rules: calculate pkg name instead of setting it
 
  -- Andreas Tille <ti...@debian.org>  Sun, 22 Apr 2012 21:09:05 +0200
 

Modified: trunk/packages/bowtie/trunk/debian/rules
===================================================================
--- trunk/packages/bowtie/trunk/debian/rules    2012-04-22 19:22:35 UTC (rev 
10516)
+++ trunk/packages/bowtie/trunk/debian/rules    2012-04-22 19:35:48 UTC (rev 
10517)
@@ -6,7 +6,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-pkg=bowtie
+pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
 
 %:
        dh $@
@@ -15,9 +15,6 @@
        $(MAKE) allall
 
 override_dh_auto_install:
-#      for bin in bowtie bowtie-build bowtie-inspect ; do \
-#          help2man $(CURDIR)/$${bin} > 
$(CURDIR)/debian/$(pkg)/usr/share/man/man1/$${bin}.1 ; \
-#      done
        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 \


_______________________________________________
debian-med-commit mailing list
debian-med-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to