[PATCH] INSTALL doesn't belong in docdir

Dan Nicholson dbn.lists at gmail.com
Sun Jan 3 10:40:20 PST 2010


On Sun, Jan 3, 2010 at 3:34 AM, Julien Cristau <jcristau at debian.org> wrote:
> On Sat, Jan  2, 2010 at 15:56:48 -0500, Gaetan Nadon wrote:
>
>> I did some test scenario regarding backward compatibility. It turns out
>> setting docdir=pkgdatadir does not help. The value of docdir in the
>> module's copy of INSTALL_CMD is set at configuration time. If the module
>> was configured with macros @ v1.4, then the INSTALL_CMD will copy from
>> share/doc every time the makefile target is invoked.
>>
> Actually that's probably fine, you can re-run configure if you upgrade the
> macros.  Running configure and make in different environments has other
> ways to break anyway.  The thing I feared was having the path to INSTALL
> already expanded in the configure script.  Thoughts?

It should expand after running the xorg-macros configure so you can
set prefix/datadir, but it had better be expanded before using it in
another package. You wouldn't want to have package foo with
--prefix=/junk and trying to pull INSTALL from
/junk/share/xorg-macros/INSTALL when it's really in
/usr/share/xorg-macros/INSTALL.

--
Dan


More information about the xorg-devel mailing list