[SCM] findimagedupes branch, master, updated. debian/2.18-1-4-gb79bfa7

Manuel Prinz manuel at debian.org
Tue Jun 2 23:11:31 UTC 2009


The following commit has been merged in the master branch:
commit 1efd8d14e084d9598d6a6b9aa45fbeb325744199
Author: Manuel Prinz <manuel at debian.org>
Date:   Wed Jun 3 00:34:48 2009 +0200

    Removed installation instructions from manpage
    
    Closes: 531145

diff --git a/debian/changelog b/debian/changelog
index 2cf5672..a9de52d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+findimagedupes (2.18-2) unstable; urgency=low
+
+  * Removed installation instructions from manpage. Closes: #531145.
+
+ -- Manuel Prinz <manuel at debian.org>  Wed, 03 Jun 2009 00:30:21 +0200
+
 findimagedupes (2.18-1) unstable; urgency=low
 
   [ Andreas Tille ]
diff --git a/debian/rules b/debian/rules
index 476c251..07d0a82 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,7 +18,14 @@ build/findimagedupes::
 	mkdir -p ./tmp
 	chmod 755 $(pkg)_tmp
 	./$(pkg)_tmp
-	pod2man findimagedupes > findimagedupes.1
+
+	# Bug #531145: Removing installation instructions from the manpage, as
+	# they are useless if the package is installed. Upstream has no other
+	# documentation, so this section will stay in upstream's version.
+	sed -i '/^=head1 INSTALLATION/,/^=head1 /{/^=head1 OPTIONS/p;d;}' \
+		$(pkg)_tmp
+	pod2man ${pkg}_tmp > findimagedupes.1
 	# Upstream has now updated README himself in version 2.18
 	# It might be reasonable to create the README this way anyway
 	# pod2text findimagedupes > ./tmp/README
+

-- 
findimagedupes



More information about the debian-science-commits mailing list