[postgis-devel] Autoprobing java source files

strk at refractions.net strk at refractions.net
Thu Apr 28 02:16:53 PDT 2005


On Thu, Apr 28, 2005 at 10:31:41AM +0200, Markus Schaber wrote:
> Hi, Strk,
> 
> After some erroneous tries and reading the appropriate sections of the
> "Make Manual", I now managed to do Make something acceptable, and
> checked it in.
> 
> I learned that make will try to re-build missing included files if
> appropriate rules exist, and then automatically re-run the whole machinery.
> 
> So now the behaviour is the following:
> 
> - If sources.inc is not present at a make run, it is automatically
> rebuilt (if "find" works), and a warning / notice appears on the screen.
> 
> - make clean leaves sources.inc as it is.
> 
> - make distclean removes sources.inc after calling clean.
> 
> The funny part comes if you run "make distclean" without having a
> sources.inc, then it is recreated just to be deleted again.

I see.. well it seems a "feature". GNU make parsing the 'include'
line on line 113. It happens with Makefile.config as well, regenerated
from Makefile.config.in as appropriate (for the sole purpose of
removing it again in a distclean run).

Do you see this as a problem ?

I think the 'distclean' rule should keep the file, anyway, or your
easy life won't be shared with other users ;)
It's the maintainer-clean which should get rid of it (make sure
maintainer-clean from root dir will invoke it in jdbc2).

--strk;


> 
> Markus
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel



More information about the postgis-devel mailing list