-
Unpack the sources, e.g.:
gunzip -c plan-1.10.1.tar.gz | tar -xvf -
cd plan-1.10.1
-
Follow the instructions in the
README
:
cd src
./configure
and answer the questions.
In most cases just use the defaults.
If the target directory should be different, e.g. a temporary one,
use:
installation directory for plan executable? [/usr/local/bin]
/tmp/plan-1.10.1/bin
installation directory for system executables (netplan)? [/usr/local/bin]
/tmp/plan-1.10.1/bin
installation directory for support executables and files? [/usr/local/lib]
/tmp/plan-1.10.1/lib
installation directory for online help file? [/usr/local/lib]
/tmp/plan-1.10.1/lib
installation directory for netplan's netplan.dir directory? [/usr/local/lib]
/tmp/plan-1.10.1/lib
installation directory prefix for nroff man pages? [/usr/local/man/man]
/tmp/plan-1.10.1/man/man
installation directory for cat man pages (or NONE)? [/usr/catman/local/cat]
/tmp/plan-1.10.1/man/cat
-
One may modify the created
Makefile
.
In the install
section
I found useful to add the creation of the man
target directories
and to replace the copying of holiday files:
mkdir -p $(DESTDIR)$(MAN)1
mkdir -p $(DESTDIR)$(MAN)4
mkdir -p $(DESTDIR)$(CATMAN)1
mkdir -p $(DESTDIR)$(CATMAN)4
-cp ../holiday/holiday_$(HOLIDAY) $(DESTDIR)$(LIB)
- Then
make clean
make
make install
-
Use
cp -r -p /tmp/plan-1.10.1 $FINALDESTINATION
or similar to copy stuff into the final destination.
-
Create an the export package, if desired, e.g.:
cd $FINALDESTINATION/plan-1.10.1
tar -cvf - * | compress > /d/bio/biodev/DUX/ALPHA/51/plan-1.10.1.tar.Z