Re: error compiling getdate.c in gnome-utils



Manish Vachharajani <mvachhar@vger.rutgers.edu> writes:
> On Sun, 9 Aug 1998, William F. Maton wrote:
> > This is of an update of my tree via CVS at 6PM, Sunday, FYI
> > 
> > --
> > 
> > quepasa 160% make
> > cd . && autoheader
> > make all-recursive
> > make[1]: Entering directory `/usr/src/gnome/gnome-utils'
> > Making all in po
> > make[2]: Entering directory `/usr/src/gnome/gnome-utils/po'
> > make[2]: *** No rule to make target `../gncal/getdate.c', needed by
> > `gnome-utils.pot'.  Stop.
> > make[2]: Leaving directory `/usr/src/gnome/gnome-utils/po'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/src/gnome/gnome-utils'
> > make: *** [all-recursive-am] Error 2
> > quepasa 161% 
> 
> This is because getdate.c is a generated file that only gets generated
> when you compile.  Fun right :)  Someone should reorder the SUBDIRS in
> Makefile.am to something appropriate.  

That won't work for builddir != srcdir.  Anyway, it is redundant, since
getdate.y is already in po/POTFILES.in.  The fix is just not to list
getdate.c in POTFILES.in, and that has already been commited to CVS.

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash



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