Commit: autoconf install support


Subject: Commit: autoconf install support
From: Frodo Looijaard (frodol@dds.nl)
Date: Sun Jun 10 2001 - 18:15:34 CDT


(Frodo) Added support for autoconf `make install' (Unix only at the moment)

Everything is installed in $pkglibdir ($prefix/lib/abiword normally). A link
is created in $bindir ($prefix/bin normally) to the AbiWord wrapper.

makewrapper.sh was modified to accept an optional fourth parameter to
support DESTDIR.

cdump, pfa2afm and ttftool are marked as non-installable (AFAIK, they are
never needed runtime).

The main GNUmakefile installs the unixfonts and abidistfiles datafiles.
This is a lot easier than adding autoconf support to these packages, though
that would be a cleaner solution.

The main GNUmakefile also installs everything under user/wp. Again, this
could be done cleaner by adding makefiles there directly.

The src/wp/main/unix GNUmakefile is modified to install the main AbiWord
executable into $(pkglibdir)/bin. The wrapper is generated too by this
file and installed into the same directory. A hard link to it is put into
$(bindir). The src/wp/main/unix/gnome file is modified similarly.

To support non-unix architectures, you will have to add a few lines to
the src/wp/main/ARCH GNUmakefile, to install the executable and wrappers
if needed. I have assumed that all datafiles can be treated the same
on all architectures, so they are installed at non-architecture specific
places.

CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: GNUmakefile.am src/pkg/common/unix/scripts/makewrapper.sh
CVS: src/tools/cdump/xp/GNUmakefile.am
CVS: src/tools/pfa2afm/unix/GNUmakefile.am
CVS: src/tools/ttftool/unix/GNUmakefile.am
CVS: src/wp/ap/unix/GNUmakefile.am src/wp/main/unix/GNUmakefile.am
CVS: src/wp/main/unix/gnome/GNUmakefile.am
CVS: ----------------------------------------------------------------------
                                                              

-- 
Frodo Looijaard <frodol@dds.nl>  PGP key and more: http://huizen.dds.nl/~frodol
Defenestration n. (formal or joc.):
  The act of removing Windows from your computer in disgust, usually followed
  by the installation of Linux or some other Unix-like operating system.



This archive was generated by hypermail 2b25 : Sun Jun 10 2001 - 18:15:58 CDT