Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2004:
[Freeciv-Dev] Re: undep.sh
Home

[Freeciv-Dev] Re: undep.sh

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Jason Dorje Short <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: undep.sh
From: Raimar Falke <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Fri, 2 Apr 2004 18:33:26 +0200

On Sun, Mar 28, 2004 at 12:26:24PM -0500, Jason Dorje Short wrote:
> Jason Dorje Short wrote:
> >What does undep.sh do?  Or more precisely, why is it needed?
> 
> From the cvs log:
> 
> revision 1.1
> date: 1998/12/15 10:30:22;  author: freeciv;  state: Exp;
> dwp@xxxxxxxxxxxxxx:
> Added a configure option --disable-cvs-deps, to mangle the
> configure-produced Makefiles produced from cvs sources, to
> remove the dependency calculation parts, which depend on
> features of gcc and gmake.  If the options is not specified,
> configure makes a decision based on whether gcc is being used;
> ideally it should also check for gmake, but doesn't.  If the
> dependency calculation parts are removed, you should always do
> "make clean" before "make" if any header files (.h files) change.
> 
> I made two trees with --enable-cvs-deps and --disable-cvs-deps.  I then 
> removed the Makefile.bak files from the tree with cvs deps disabled.  I 
> took a diff (attached).  It shows no differences between the trees 
> (other than in the value of the CVS_DEPS variable).
> 
> So I still don't know what undep.sh is supposed to do.  automake and 
> autoconf don't do dependency calculations...

In the --disable-cvs-deps I get
extending po/Makefile
silencing po/Makefile
modifying po/Makefile add-comments/escape
removing cvs-deps from common/Makefile
removing cvs-deps from common/aicore/Makefile
removing cvs-deps from ai/Makefile
removing cvs-deps from server/Makefile
removing cvs-deps from client/Makefile
removing cvs-deps from client/agents/Makefile
removing cvs-deps from client/gui-gtk-2.0/Makefile

Now type 'make' to compile freeciv.

at the end.

Also the diff contains more. Maybe this is of different auto* version
and so the sed patterns don't match anymore.

However I have no idea WHAT the difference is suppose to mean.

        Raimar


-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  The trick is to keep breathing.

Attachment: undep2.diff.gz
Description: application/gunzip


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: undep.sh, Raimar Falke <=