[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Devel] Unix-friendly install scripts
From: |
David Turner |
Subject: |
[Devel] Unix-friendly install scripts |
Date: |
Wed, 09 Jan 2002 09:20:58 +0100 |
Hello,
I just added two small scripts to the FreeType CVS
(stable branch), these are called 'configure' and
'install'
As you might have guessed, their purpose is simply
to make the installation of FreeType on Unix systems
more friendly.. Which means that instead of:
make setup unix CFG="<youroptions>"
make
make install
all you need to do now:
./configure <youroptions>
make
./install
Of course, the old way will still work though..
I really wonder why I didn't have this idea before
the 2.0.6 release !?
Also, we use "/usr/local" as the default installation
path. However, since FreeType is installed on more and
more distributions in "/usr", would it be wise to change
this default to "/usr" too ??
A simple way to do that would be to try to run
"freetype-config --prefix" within the configure script
to see if the library is already installed.. and use
that path for installation..
And should we try to fix the XFree86 mess in the install
script (i.e. check for /usr/X11R6/lib/libfreetype.so and
see if it links to /usr/X11R6/lib/libfreetype.X.Y.Z.so)
Any comments on this ??
Regards,
- David
- [Devel] Unix-friendly install scripts,
David Turner <=