All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Oberritter <obi@linuxtv.org>
To: Robby Workman <rworkman@slackware.com>
Cc: linux-media@vger.kernel.org,
	Patrick Volkerding <volkerdi@slackware.com>,
	Mauro Carvalho Chehab <mchehab@redhat.com>
Subject: Re: [PATCHES] Misc. trivial fixes
Date: Wed, 13 Apr 2011 20:20:07 +0200	[thread overview]
Message-ID: <4DA5E957.3020702@linuxtv.org> (raw)
In-Reply-To: <alpine.LNX.2.00.1104120729280.7359@connie.slackware.com>

On 04/12/2011 04:31 PM, Robby Workman wrote:
> On Tue, 12 Apr 2011, Andreas Oberritter wrote:
> 
>> On 04/12/2011 04:10 AM, Robby Workman wrote:
>>> --- a/Make.rules
>>> +++ b/Make.rules
>>> @@ -11,6 +11,7 @@ PREFIX = /usr/local
>>>  LIBDIR = $(PREFIX)/lib
>>>  # subdir below LIBDIR in which to install the libv4lx libc wrappers
>>>  LIBSUBDIR = libv4l
>>> +MANDIR = /usr/share/man
>>
>> Why did you hardcode /usr instead of keeping $(PREFIX)/share/man?
> 
> 
> Eek.  I'd like to say that I sent the wrong patch, but alas, I
> simply had a thinko.  See attached (better) patch :-)

Looks good. Mauro, will you pick up this patch?

Regards,
Andreas

> 
> -RW
> 
> 
> 0002-Allow-override-of-manpage-installation-directory.patch
> 
> 
> From 6ef4a1fecee242be9658528ef7663845d9bd6bc6 Mon Sep 17 00:00:00 2001
> From: Robby Workman <rworkman@slackware.com>
> Date: Tue, 12 Apr 2011 09:26:57 -0500
> Subject: [PATCH] Allow override of manpage installation directory
> 
> This creates MANDIR in Make.rules and keeps the preexisting
> default of $(PREFIX)/share/man, but allows packagers to easily
> override via e.g. "make MANDIR=/usr/man"
> ---
>  Make.rules              |    1 +
>  utils/keytable/Makefile |    4 ++--
>  2 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/Make.rules b/Make.rules
> index 0bb2eb8..875828a 100644
> --- a/Make.rules
> +++ b/Make.rules
> @@ -11,6 +11,7 @@ PREFIX = /usr/local
>  LIBDIR = $(PREFIX)/lib
>  # subdir below LIBDIR in which to install the libv4lx libc wrappers
>  LIBSUBDIR = libv4l
> +MANDIR = $(PREFIX)/share/man
>  
>  # These ones should not be overriden from the cmdline
>  
> diff --git a/utils/keytable/Makefile b/utils/keytable/Makefile
> index 29a6ac4..e093280 100644
> --- a/utils/keytable/Makefile
> +++ b/utils/keytable/Makefile
> @@ -39,7 +39,7 @@ install: $(TARGETS)
>  	install -m 644 -p rc_keymaps/* $(DESTDIR)/etc/rc_keymaps
>  	install -m 755 -d $(DESTDIR)/lib/udev/rules.d
>  	install -m 644 -p 70-infrared.rules $(DESTDIR)/lib/udev/rules.d
> -	install -m 755 -d $(DESTDIR)$(PREFIX)/share/man/man1
> -	install -m 644 -p ir-keytable.1 $(DESTDIR)$(PREFIX)/share/man/man1
> +	install -m 755 -d $(DESTDIR)$(MANDIR)/man1
> +	install -m 644 -p ir-keytable.1 $(DESTDIR)$(MANDIR)/man1
>  
>  include ../../Make.rules
> -- 1.7.4.4


  reply	other threads:[~2011-04-13 18:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-12  2:10 [PATCHES] Misc. trivial fixes Robby Workman
2011-04-12  2:14 ` Robby Workman
2011-04-12 12:13 ` Andreas Oberritter
2011-04-12 14:31   ` Robby Workman
2011-04-13 18:20     ` Andreas Oberritter [this message]
2011-05-02 20:22       ` Mauro Carvalho Chehab
2011-05-03  2:48         ` Robby Workman
2011-05-03  2:48           ` Robby Workman
2011-05-03  3:42           ` Mauro Carvalho Chehab
2011-05-03  3:42             ` Mauro Carvalho Chehab
2011-05-03  4:07             ` Robby Workman
2011-05-03  4:07               ` Robby Workman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DA5E957.3020702@linuxtv.org \
    --to=obi@linuxtv.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@redhat.com \
    --cc=rworkman@slackware.com \
    --cc=volkerdi@slackware.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.