Hi Daniel,

Daniel Haude wrote:
> What can one say about this? I don't get it.
> 
> Thanks,
> --Daniel
> 
> 
> [EMAIL PROTECTED]:~/Projects/ctops$ make distclean
> Making distclean in .
> make[1]: Entering directory `/home/dh/Projects/ctops'
> rm -f config.h
> rm -f TAGS ID
> rm -f Makefile
> rm -f config.cache config.log stamp-h stamp-h[0-9]*
> make[1]: Leaving directory `/home/dh/Projects/ctops'
> Making distclean in gui
> make[1]: Entering directory `/home/dh/Projects/ctops/gui'
> gcc -DHAVE_CONFIG_H -I. -I. -I..
> -DPACKAGE_DATA_DIR=\""/usr/local/share"\"    
> -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\"    -DXTHREADS
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
> -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include          -I../tops  
> -W -Wall -ansi -pedantic -g -g -O2 -c refine.c
> In file included from refine.c:7:
> support.h:6:22: config.h: No such file or directory
> make[1]: *** [refine.o] Error 1
> make[1]: Leaving directory `/home/dh/Projects/ctops/gui'
> make: *** [distclean-recursive] Error 1
> [EMAIL PROTECTED]:~/Projects/ctops$
> [EMAIL PROTECTED]

From automake.info(Recursing subdirectories);

  By default, Automake generates `Makefiles' which work depth-first
  (`postfix').  However, it is possible to change this ordering.  You can
  do this by putting `.' into `SUBDIRS'.  For instance, putting `.'
  first will cause a `prefix' ordering of directories.  All `clean'
  targets are run in reverse order of build targets.

I don't recall whether ancient automake supports the `.' option in SUBDIRS.
Probably not.  You are fighting against all the bugs and misfeatures that
have been fixed over the last five years of automake development if you
insist on staying with automake-1.4 (I branched for the 1.4px series in
early 2001).

HTH,
        Gary.
-- 
Gary V. Vaughan      ())_.  [EMAIL PROTECTED],gnu.org}
Research Scientist   ( '/   http://blog.azazil.net
GNU Hacker           / )=   http://trac.azazil.net/projects/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to