Re: Imake changes in 4.5 break a couple of imake-using software packages

David Dawes <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Message-ID <[email protected]>
On Sat, Jun 25, 2005 at 01:33:24PM +0200, Dejan Lesjak wrote:
>A change was made to Imake.rules rev. 3.132 that removes dependencies from 
>install targets.

The rationale for this was to have everything created in the build tree
during the build phase, allowing an install from a read-only build tree.
Some of the install target dependencies have since been added back in
though.

>A couple of projects that use imake for configuring Makefiles depended on 
>imake adding dependencies to install:: target so those files were built at 
>install time. This includes at least xgammon [1], xcheckers [2], xfm [3].
>For example in xgammon: previously imake would add XGammon.ad as dependency 
>for install target, now it fails at install like this:
>
>xgammon-0.98a# make install
>/usr/bin/install -c -s  xgammon /usr/X11R6/bin/xgammon
>/usr/bin/install -c -m 0444 XGammon.ad /usr/X11R6/lib/X11/app-defaults/XGammon
>install: XGammon.ad: No such file or directory
>*** Error code 71
>
>This is handled by InstallAppDefaults macro which in turn uses 
>InstallNamedTarget from Imake.rules.
>One solution would be to instead add such dependencies to all:: target so they 
>are still not built at install stage, which would seem to be in accordance to 
>made Imake.rules change.

I would modify the Imakefiles to add an AllTarget() for such files.

David
-- 
David Dawes                                     X-Oz Technologies
www.XFree86.org/~dawes                          www.x-oz.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.