public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-pms] EAPI 5: does doheader have a -r option, or is recursion implied?
@ 2012-09-15 20:32 Zac Medico
  2012-09-15 21:03 ` Ulrich Mueller
  0 siblings, 1 reply; 4+ messages in thread
From: Zac Medico @ 2012-09-15 20:32 UTC (permalink / raw
  To: gentoo-pms

PMS does not document this, and the current Portage implementation
supports -r since it passes the arguments to doins as noted here:

  https://bugs.gentoo.org/show_bug.cgi?id=21310#c5
-- 
Thanks,
Zac


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-pms] EAPI 5: does doheader have a -r option, or is recursion implied?
  2012-09-15 20:32 [gentoo-pms] EAPI 5: does doheader have a -r option, or is recursion implied? Zac Medico
@ 2012-09-15 21:03 ` Ulrich Mueller
  2012-09-15 21:05   ` Zac Medico
  0 siblings, 1 reply; 4+ messages in thread
From: Ulrich Mueller @ 2012-09-15 21:03 UTC (permalink / raw
  To: gentoo-pms

>>>>> On Sat, 15 Sep 2012, Zac Medico wrote:

> PMS does not document this, and the current Portage implementation
> supports -r since it passes the arguments to doins as noted here:

>   https://bugs.gentoo.org/show_bug.cgi?id=21310#c5

Let's document it then.

Ulrich


From e6ed3676bea254675b372645d5fc8f01d1e18eb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@gentoo.org>
Date: Sat, 15 Sep 2012 22:56:15 +0200
Subject: [PATCH] doheader accepts -r option for recursion.

The doheader implementation is based on doins, so it is natural that
it also supports recursion.
---
 pkg-mgr-commands.tex | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 25cf79d..772613e 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -292,7 +292,8 @@ function has returned.
 
 \item[doheader] \featurelabel{doheader} Installs the given header files into \t{/usr/include/},
     by default with file mode \t{0644}. This can be overridden by setting \t{INSOPTIONS} with the
-    \t{insopts} function.
+    \t{insopts} function. If the first argument is \t{-r}, then operates recursively, descending
+    into any directories given.
     Only available in EAPIs listed in table~\ref{tab:doheader-table} as supporting \t{doheader}.
     Failure behaviour is EAPI dependent as per section~\ref{sec:failure-behaviour}.
 
-- 
1.7.12



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [gentoo-pms] EAPI 5: does doheader have a -r option, or is recursion implied?
  2012-09-15 21:03 ` Ulrich Mueller
@ 2012-09-15 21:05   ` Zac Medico
  2012-09-18 11:12     ` Ulrich Mueller
  0 siblings, 1 reply; 4+ messages in thread
From: Zac Medico @ 2012-09-15 21:05 UTC (permalink / raw
  To: gentoo-pms

On 09/15/2012 02:03 PM, Ulrich Mueller wrote:
> From e6ed3676bea254675b372645d5fc8f01d1e18eb4 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@gentoo.org>
> Date: Sat, 15 Sep 2012 22:56:15 +0200
> Subject: [PATCH] doheader accepts -r option for recursion.

Looks good to me.
-- 
Thanks,
Zac


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-pms] EAPI 5: does doheader have a -r option, or is recursion implied?
  2012-09-15 21:05   ` Zac Medico
@ 2012-09-18 11:12     ` Ulrich Mueller
  0 siblings, 0 replies; 4+ messages in thread
From: Ulrich Mueller @ 2012-09-18 11:12 UTC (permalink / raw
  To: gentoo-pms

>>>>> On Sat, 15 Sep 2012, Zac Medico wrote:

> On 09/15/2012 02:03 PM, Ulrich Mueller wrote:
>> From e6ed3676bea254675b372645d5fc8f01d1e18eb4 Mon Sep 17 00:00:00 2001
>> From: Ulrich Müller <ulm@gentoo.org>
>> Date: Sat, 15 Sep 2012 22:56:15 +0200
>> Subject: [PATCH] doheader accepts -r option for recursion.

> Looks good to me.

Committed to master.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-18 11:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-15 20:32 [gentoo-pms] EAPI 5: does doheader have a -r option, or is recursion implied? Zac Medico
2012-09-15 21:03 ` Ulrich Mueller
2012-09-15 21:05   ` Zac Medico
2012-09-18 11:12     ` Ulrich Mueller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox