[med-svn] r6716 - trunk/packages/axparafit/trunk/debian

Andreas Tille tille at alioth.debian.org
Fri Apr 29 08:59:07 UTC 2011


Author: tille
Date: 2011-04-29 08:59:06 +0000 (Fri, 29 Apr 2011)
New Revision: 6716

Modified:
   trunk/packages/axparafit/trunk/debian/links
   trunk/packages/axparafit/trunk/debian/rules
Log:
Fix links to manpages, make sure binaries are really lower cased; upload to unstable


Modified: trunk/packages/axparafit/trunk/debian/links
===================================================================
--- trunk/packages/axparafit/trunk/debian/links	2011-04-29 08:08:19 UTC (rev 6715)
+++ trunk/packages/axparafit/trunk/debian/links	2011-04-29 08:59:06 UTC (rev 6716)
@@ -1,4 +1,4 @@
-axparafit.1.gz	usr/share/man/man1/axparafitblas.1.gz
-axparafit.1.gz	usr/share/man/man1/axparparafit.1.gz
-axparafit.1.gz	usr/share/man/man1/axparparafitblas.1.gz
-axparafit.1.gz	usr/share/man/man1/axparparafitblas_random.1.gz
+usr/share/man/man1/axparafit.1.gz	usr/share/man/man1/axparafitblas.1.gz
+usr/share/man/man1/axparafit.1.gz	usr/share/man/man1/axparparafit.1.gz
+usr/share/man/man1/axparafit.1.gz	usr/share/man/man1/axparparafitblas.1.gz
+usr/share/man/man1/axparafit.1.gz	usr/share/man/man1/axparparafitblas_random.1.gz

Modified: trunk/packages/axparafit/trunk/debian/rules
===================================================================
--- trunk/packages/axparafit/trunk/debian/rules	2011-04-29 08:08:19 UTC (rev 6715)
+++ trunk/packages/axparafit/trunk/debian/rules	2011-04-29 08:59:06 UTC (rev 6716)
@@ -20,19 +20,11 @@
 		LINKERFLAGS="$(LDFLAGS)" \
 		       ARCH="$(ARCH)"
 
-# this is here because it seems like in the install: target
-# the $(shell ...) command gets executed before dh_installdirs,
-# thus failing.
 override_dh_install:
 	dh_install
-	for i in $(shell ls $(CURDIR)/debian/axparafit/usr/bin); \
-	do \
-		#echo $$i; \
-		lowercase=$$(echo $$i | tr [A-Z] [a-z]); \
-		dir=$(CURDIR)/debian/axparafit/usr/bin; \
-		[ "$$lowercase" == "$$i" ] || mv $$dir/$$i $$dir/$$lowercase; \
-	done;
-	
+	# make binaries lower cased
+	rename 'y/A-Z/a-z/' $(CURDIR)/debian/axparafit/usr/bin/*
+
 get-orig-source:
 	[ -d ../tarballs ] || mkdir ../tarballs
 	wget "http://icwww.epfl.ch/%7Estamatak/index-Dateien/countSourceAx.php" \




More information about the debian-med-commit mailing list