|
From: Dowling, W. (TS USA) <wil...@th...> - 2005-02-15 16:31:07
|
On Mon, 2005-02-14 at 19:56, Martin Quinson wrote:
> On Mon, Feb 14, 2005 at 12:38:29PM -0500, Dowling, Will (TS USA) wrote:
> > I'd like to modify the Makefile a bit. The principle goal would be to
> > allow >1 version of flexml to exist on a system at the same time. [...]
>
> I don't feel the need to add this by default to the code, but as an option,
> it would be welcome, I guess. Please make it a specific target of the
> Makefile so that it doesn't trouble the other targets. [...]
> You don't want to convert your ton of existing parsers right now, do you ? hehe.
No parsers will have to be modified. I'm only talking about modifying
the installation location of various flexml components. The output from
'make install' (setting the base directory to /tmp/foo) will be
mkdir -p /tmp/foo/bin /tmp/foo/lib \
/tmp/foo/share/man/man1 /tmp/foo/share/doc/flexml-1.2 \
/tmp/foo/share/flexml-1.2 \
/tmp/foo/share/doc/flexml-1.2/html \
/tmp/foo/share/doc/flexml-1.2/examples
install -m555 flexml-1.2 /tmp/foo/bin/
install -m555 flexml-act-1.2 /tmp/foo/lib/
install -m444 skel /tmp/foo/share/flexml-1.2/
install -m444 flexml.1 /tmp/foo/share/man/man1/
install -m444 README NOTES TODO flexml-act.dtd EnlargeFlex.patch
/tmp/foo/share/doc/flexml-1.2/
install -m444 FleXML.html /tmp/foo/share/doc/flexml-1.2/html/
rm -f /tmp/foo/bin/flexml
ln -s /tmp/foo/bin/flexml-1.2 /tmp/foo/bin/flexml
make -C examples install
make[1]: Entering directory `/links/extern/src/flexml-1.2/examples'
mkdir -p /tmp/foo/share/doc/flexml-1.2/flexml/examples
install -m444 my.dtd my-show.act my-joke.xml my-joke2.xml my-joke3.xml
tricky.dtd tricky.act tricky.xml test.html
/tmp/foo/share/doc/flexml-1.2/flexml/examples/
Note /tmp/foo/bin/flexml still exists as a symlink to flexml-1.2.
flexml.pl will be changed to make sure it picks up the default skel file
from the new place where it was installed.
I'd also like to pull out the common definitions in Makefile and
examples/Makefile into a single file Makefile.defs, then use
include Makefile.defs
Any objections? (Do non-gnu make programs handle "include"?)
Thanks,
Will
--
William F. Dowling
Thomson/ISI (www.thomsonisi.com)
215-386-0100 x-1156
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
|