r52542 - /website/debhelper.pod
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Thu Feb 11 15:23:24 UTC 2010
Author: gregoa
Date: Thu Feb 11 15:22:56 2010
New Revision: 52542
URL: http://svn.debian.org/wsvn/?sc=1&rev=52542
Log:
# more than 1 binary package:
PACKAGE = $(firstword $(shell dh_listpackages))
Modified:
website/debhelper.pod
Modified: website/debhelper.pod
URL: http://svn.debian.org/wsvn/website/debhelper.pod?rev=52542&op=diff
==============================================================================
--- website/debhelper.pod (original)
+++ website/debhelper.pod Thu Feb 11 15:22:56 2010
@@ -88,6 +88,17 @@
=begin html
<pre>PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
+</pre>
+
+=end html
+
+If the source package contains more than one binary packages dh_listpackages
+returns all of them, so you probably want to use:
+
+=begin html
+
+<pre>PACKAGE = $(firstword $(shell dh_listpackages))
TMP = $(CURDIR)/debian/$(PACKAGE)
</pre>
@@ -342,7 +353,7 @@
=head1 LICENSE AND COPYRIGHT
-Copyright (c) 2009 by the individual contributors noted above.
+Copyright (c) 2009-2010 by the individual contributors noted above.
This document is free software; you may redistribute it and/or modify it
under the same terms as Perl itself.
More information about the Pkg-perl-cvs-commits
mailing list