[med-svn] [SCM] emboss branch, master, updated. debian/6.3.1-6-19-g1dd0d58
Charles Plessy
plessy at debian.org
Fri May 11 05:28:56 UTC 2012
The following commit has been merged in the master branch:
commit 1526a27486258ced21019da7823b8b07c877bb41
Author: Charles Plessy <plessy at debian.org>
Date: Fri May 11 14:17:22 2012 +0900
Obtain the ACD files from the Git repository.
diff --git a/debian/build-manpages.sh b/debian/build-manpages.sh
index 61954d5..fc3520c 100755
--- a/debian/build-manpages.sh
+++ b/debian/build-manpages.sh
@@ -1,20 +1,16 @@
-#!/bin/sh
+#!/bin/sh -e
# Copyleft 2007 Charles Plessy, do what you want with this trivial file.
-set -v
-set -e
-
PACKAGE=$(dpkg-parsechangelog -ldebian/changelog | grep Source: | cut -f2 -d' ')
VERSION=$(dpkg-parsechangelog -ldebian/changelog | grep Version: | cut -f2 -d' ' | cut -f1 -d-)
ORIGTARGZ=../${PACKAGE}_${VERSION}.orig.tar.gz
rm -f debian/$PACKAGE.manpages
-for FILE in $(tar --list --gzip --file $ORIGTARGZ | grep \\.acd | grep -v /test/)
+for FILE in $(ls emboss/acd/*.acd)
do
ACD=$(basename $FILE .acd)
- tar --verbose --gzip --file $ORIGTARGZ --extract $FILE --to-stdout \
- | ./debian/acd2docbook.pl /dev/stdin ${VERSION} \
+ ./debian/acd2docbook.pl $FILE ${VERSION} \
| xsltproc --nonet --param man.charmap.use.subset 0 -o debian/manpages/ -
echo "debian/manpages/$ACD.1e" >> debian/$PACKAGE.manpages
done
--
The European Molecular Biology Open Software Suite.
More information about the debian-med-commit
mailing list