On Sun, Jan 3, 2010 at 3:34 AM, Julien Cristau <[email protected]> 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
_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to