2014-12-11 15:18:03 +00:00
|
|
|
# INSTALL: how to install wmclock
|
|
|
|
# created 1999-Apr-10 jmk
|
|
|
|
|
|
|
|
____________________________
|
|
|
|
|O| Installing wmclock |X|
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
The procedure for installing wmclock is relatively simple; it depends
|
|
|
|
on imake, which ships with most systems which include the X Window
|
|
|
|
System.
|
|
|
|
|
|
|
|
(1) Run the `configure' script to configure the language support that
|
|
|
|
is built into wmclock. For example:
|
2014-12-11 15:18:11 +00:00
|
|
|
|
2014-12-11 15:18:03 +00:00
|
|
|
./configure --lang english
|
|
|
|
|
|
|
|
For a list of the available languages, use:
|
2014-12-11 15:18:11 +00:00
|
|
|
|
2014-12-11 15:18:03 +00:00
|
|
|
./configure --help
|
|
|
|
|
|
|
|
The configure script also creates a Makefile out of the Imakefile
|
|
|
|
using xmkmf.
|
|
|
|
|
|
|
|
(2) Compile:
|
2014-12-11 15:18:11 +00:00
|
|
|
|
2014-12-11 15:18:03 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
You may specify the C compiler to use and additional command-line
|
|
|
|
options for the C compiler using the `CC' and `CDEBUGFLAGS'
|
|
|
|
variables, respectively. For example:
|
2014-12-11 15:18:11 +00:00
|
|
|
|
2014-12-11 15:18:03 +00:00
|
|
|
make CC=clang CDEBUGFLAGS='-O4 -march=pentium2'
|
|
|
|
|
|
|
|
|
|
|
|
(3) Test wmclock:
|
2014-12-11 15:18:11 +00:00
|
|
|
|
2014-12-11 15:18:03 +00:00
|
|
|
./wmclock
|
|
|
|
|
|
|
|
(If it appears to work as expected, *don't dock it*. Wait until
|
|
|
|
after you've installed it).
|
|
|
|
|
|
|
|
(4) Install:
|
2014-12-11 15:18:11 +00:00
|
|
|
|
2014-12-11 15:18:03 +00:00
|
|
|
su
|
|
|
|
make install
|
|
|
|
make install.man
|
|
|
|
|
|
|
|
Optionally, install all the month and weekday pixmaps for use
|
|
|
|
with the `-monthxpm' and `-weekdayxpm' options:
|
2014-12-11 15:18:11 +00:00
|
|
|
|
2014-12-11 15:18:03 +00:00
|
|
|
make install.share
|
|
|
|
|
|
|
|
(5) You're done. See the README file accompanying this one for
|
|
|
|
instructions on installing wmclock into Window Maker's dock.
|
|
|
|
|
2014-12-11 15:18:11 +00:00
|
|
|
--
|
2014-12-11 15:18:03 +00:00
|
|
|
Bruce Cran <bruce@bluestop.org>
|