On 24/09/15 21:44, Paul Eggert wrote:
On 09/24/2015 11:12 AM, Ian Abbott wrote:
There may be some unlucky bar steward out there who needs to incorporate the 'backzone' file data into the 'right' data set, or into both the POSIX and 'right' data sets
With luck that will never happen. If it does happen, though, we need an approach where the length of the makefile doesn't explode combinatorially with the number of installation options. I had already considered something along the lines suggested, but backed off when I saw it about to blow. Maybe you can tweak the makefile to do something recursive and nonexplosive instead? But if not, it's OK to leave it the way it is.
Would something along the lines of the attached Makefile be suitable? It uses a single target to build one or two data sets (for two data sets there is also a symbolic link to - or a copy of - the default data set), but does clever tricks with Makefile macros. -- -=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@mev.co.uk> )=- -=( Web: http://www.mev.co.uk/ )=-