[SCM] Debian packaging of arename branch, master, updated. debian/3.1-1-20-g07a958f

gregor herrmann gregoa at debian.org
Thu Feb 2 18:52:28 UTC 2012


The following commit has been merged in the master branch:
commit 954982287306aa31c5aee0a9250cdb9068c41433
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Feb 2 19:32:37 2012 +0100

    Update debian/rules to upstream changes.

diff --git a/debian/ataglist.pod b/debian/ataglist.pod
deleted file mode 100644
index ddc4e73..0000000
--- a/debian/ataglist.pod
+++ /dev/null
@@ -1,23 +0,0 @@
-=head1 NAME
-
-ataglist - print audio file metadata in an easily parsable format
-
-=head1 SYNOPSIS
-
-ataglist FILE
-
-=head1 DESCRIPTION
-
-ataglist takes only one argument, a filename. *.ogg, *.mp3
-or *.flac. It outputs a number of lines, that can be easily used
-to create a hash of tag->tag_value pairs in zsh. This program's
-main use is to help implement a functionality in atag, that makes
-it possible to export tag values into zsh shell variables.
-
-Useful for scripting. Calling this program by hand is probably not that useful...
-
-=head1 AUTHORS
-
-This manual page was written by Maximilian Gass <mxey at cloudconnected.org> for
-the Debian project, but may be used by others.
-=cut
diff --git a/debian/rules b/debian/rules
index 60c4cff..f0a3132 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,28 +1,22 @@
 #!/usr/bin/make -f
+
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh  $@
 
-override_dh_auto_clean:
-	# make clean would remove the 'arename' executable but we need to keep it,
-	# because we do not build it ourselves but instead use it as shipped in the
-	# tarball (make clean is not supposed to be called by the user)
-	
-	rm -f ataglist.1
-
 override_dh_auto_build:
-	# no building required, make just shows a usage error
-	
-	pod2man debian/ataglist.pod > ataglist.1
+	$(MAKE) genperlscripts
+	$(MAKE) doc
 
 override_dh_auto_test:
 	# test requires audio test data and LAME
 
 override_dh_auto_install:
-	make install prefix=debian/arename/usr libpath=share/perl5
-	make install-doc prefix=debian/arename/usr
-	rm debian/arename/usr/share/doc/arename/CHANGES
-	rm debian/arename/usr/share/doc/arename/LICENCE
-	rm debian/arename/usr/share/doc/arename/README
-	rm debian/arename/usr/share/doc/arename/arename.html
-
-	cp ataglist.1 debian/arename/usr/share/man/man1
+	$(MAKE) install prefix=$(TMP)/usr libpath=share/perl5
+	$(MAKE) install-doc prefix=$(TMP)/usr
+	$(RM) $(TMP)/usr/share/doc/arename/CHANGES
+	$(RM) $(TMP)/usr/share/doc/arename/LICENCE
+	$(RM) $(TMP)/usr/share/doc/arename/README
+	$(RM) $(TMP)/usr/share/doc/arename/*.html

-- 
Debian packaging of arename



More information about the Pkg-perl-cvs-commits mailing list