Re: A small patch for Makefile.in



Le mercredi 03 août 2005 à 18:25 +0800, Jimmy.Yin a écrit :
> Hi, there
> 
> When build gnome-pilot, make-tools will check xxx.gob files and
> xxx-private.h files. If a xxx-private.h file are not newer than its gob
> files, make-tools will use GOB to generate a new xxx-private.h file.
> 
> But if is no GOB tools in the system (configure get GOB='no'),
> make-tools will still use GOB to create header file. That will cause
> error as:
> 
> no --always-private-header -w gnome-pilot-conduit-management.gob
> /bin/bash: no: command not found
> make: *** [gnome-pilot-conduit-management.c] Error 127
> 
> This patch checks if there's GOB in system and decides whether do "$GOB
> ....." operation.

Patching Makefile.in is wrong, since it is a regenerated file. Either
patch Makefile.am or fix the m4 macro which generated Makefile.in

-- 
Frederic Crozat <fcrozat mandriva com>
Mandriva




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]