[Freeciv-Dev] Re: [FreeCiv-Cvs] esr: Change Makefile.am so it doesn't ha
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>:
> > Change Makefile.am so it doesn't have to list the nation files explicitly.
> > Instead, use $(shell ls -1 *.ruleset) to make the generated Makefile
> > compute the list dynamically.
>
> I'm curious how win32 and VMS and friends handle this change...
Er...we have a VMS port?
This only gets invoked by make dist and make install/uninstall, which
have a lot of other Unix assumptions (like the existence of an install
script) embedded in them.
Hm...$(shell echo *.ruleset) might be marginally more portable, being
a shell builtin under Interix & Eunice etc. Not that I think this
case will ever come up, but maybe I'll change it anyway.
This change was another step towards making it possible to install nations
simply by dropping resources in the right places in the data tree. My
patch 2934 (Eliminate an order dependency in ruleset loading) is also
relevant.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
|
|