I hope to find time end of year to look into a better autoconf for swish-e 2.1
In it's present form it lacks: AC_CONFIG_SUBDIRS(src doc perl) and such.
For this to work I think it's best to split the configuration work in
directories which have their own configure and Makefile.in. The
toplevel would just drive the lower levels.
I want to be able to make parts independently and incrementally after changes.
configure in principle has bindir, libdir and libexecdir
perhaps libdir for perl and libexecdir for the c library?
Now for commiting autoconf changes to cvs:
config.cache, config.log, config.status and(!) Makefile are
'temporary' files that only mean something on the build host, they
should be removed before distribution or commit. The setup is clean
when you do the following:
$ vi configure.in Makefile.in
$ autoconf (produces configure)
$ make realclean (removes the unnecessary files)
$ cvs ci -m 'message' Makefile.in configure configure.in
You should run configure to produce the Makefile so make realclean
can cleanup, this will also remove Makefile itself (this should be
so, it's realclean, a clean start)
perhaps we can add 'make dist' which wraps it all up to put on the
website or other distribution.
make install should work when moved to a production server without c compiler.
src/Makefile.in lacks suffix rules for libraries.
make html would by default install in /usr/doc/swish-e I don't know
any other default html storage locations on other systems (except
$DOCUMENT_ROOT). If anyone has ideas let me know.
hope this helps,
>I committed this version to CVS just now. I hope Jose can get cvs working
>I also made some changes. I added a rough draft of README, INSTALL, and
>SWISH-PERL. I also included the rewritten version of perl/test.pl.
>I made a few changes to Makefile.in and src/Makefile.in -- mostly in the
>top level Makefile.in.
>make clean now removes libswish-e.a and the testlib program. I'm not sure
>how to write the make file, but would it be better to have the top-level
>make clean and make realclean call the src/Makefile instead?
>Plus I added make install which now installs the swish-e binary, and make
>install-lib which installs the library (src/make install used to install
>Lastly, make now passes libdir in addition to prefix.
>But don't take my word for it, see the cool color-coded diffs at:
-- /''' Bas Meijer, Antraciet
c-OO WEB: http://bas.antraciet.nl WAP: http://wmpp.net
\ > Kerkstraat 19 Postbus 256 1400 AG Bussum.NL
\&& tel. +31 35 7502100 fax. +31 35 7502111
Received on Thu Dec 14 10:33:52 2000