[postgis-devel] top-level GNUMakefile and SUBDIRS

Paul Ramsey pramsey at opengeo.org
Fri Dec 10 09:32:12 PST 2010


This broke make install for me

P

On Fri, Dec 10, 2010 at 9:25 AM, strk <strk at keybit.net> wrote:
> I'm trying to simplify/retionalize the makefiles
> so started using SUBDIRS, which is like what you do
> with automake:
>
> SUBDIRS = postgis loader utils raster
>
> # todo: add more rules here, like uninstall, clean...
> all install:
>        for s in $(SUBDIRS); do \
>                $(MAKE) -C $${s} $@; \
>        done;
>
> # This serves just the purpose of specifying rule dependency (install
> # depends on all)
> install: all
>
> Basically what prevented me to add, say, 'doc' in that list of rules
> is that currently you don't get docs built on 'make', so you may not
> want to get them built later either. Or do you ?
>
> One way to still require 'make docs' would be making the 'all' rule
> in doc/Makefile a no-op and using 'docs' rule instead. But this
> would not let you do 'cd doc && make', which you may be used to.
>
> So, question: do you mind if i go on and try to make top-level
> GNUMakefile cleaner at possible cost of having to change your habits ?
>
> --strk;
>
>  ()   Free GIS & Flash consultant/developer
>  /\   http://strk.keybit.net/services.html
> _______________________________________________
> 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