[Pkg-cli-apps-commits] r3989 - /packages/gnome-do-plugins/trunk/debian/rules
raof-guest at users.alioth.debian.org
raof-guest at users.alioth.debian.org
Sun Jun 1 23:37:11 UTC 2008
Author: raof-guest
Date: Sun Jun 1 23:37:11 2008
New Revision: 3989
URL: http://svn.debian.org/wsvn/pkg-cli-apps/?sc=1&rev=3989
Log:
Make get-orig-source target policy compliant
(Able to be run from any directory)
Modified:
packages/gnome-do-plugins/trunk/debian/rules
Modified: packages/gnome-do-plugins/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/gnome-do-plugins/trunk/debian/rules?rev=3989&op=diff
==============================================================================
--- packages/gnome-do-plugins/trunk/debian/rules (original)
+++ packages/gnome-do-plugins/trunk/debian/rules Sun Jun 1 23:37:11 2008
@@ -32,9 +32,15 @@
# provide a target, it does nothing but depend upon build as per policy
binary-arch: build
+# Makefile arcanery warning:
+# $(dir $(_)) gives us the path containing this rules file.
+# I haven't found this documented in any make documentation, so I am unsure
+# how portable/version independent it is.
+# This magic care of Emmet Hickory:
+# (http://lists.debian.org/debian-devel-games/2008/02/msg00135.html)
get-orig-source:
- dh_testdir
- uscan --force-download --verbose --destdir=$(CURDIR)
+ uscan --download --package gnome-do-plugins --destdir=$(CURDIR) \
+ --no-symlink --upstream-version 0 --watchfile=$(dir $(_))/watch
%:
dh $@
More information about the Pkg-cli-apps-commits
mailing list