3 # configure: prepare wmclock to be built using imake and make
4 # created 1999-Mar-30 03:40 jmk
12 ls -1d lang.
* |
awk -F .
'{
18 langlist
="`GetLanguages`"
21 Usage: ${0} [--lang <language>]
25 Configure wmclock to use day and month names for the specified
26 language. Defaults to 'english'. Choices are:
34 echo "wmclock is NOT successfully configured!"
38 while [ $# -gt 0 ]; do
52 if [ -z "${Language}" ]; then
53 Language
="${DefLanguage}"
56 LangDir
="lang.${Language}"
57 if [ ! -d "${LangDir}" ]; then
58 Die
"${Me}: error: cannot find language directory '${LangDir}'"
61 echo "Configuring for ${Language} day-of-week and month names ..."
62 rm -f month.xpm weekday.xpm
63 ln -s "./${LangDir}/month.xpm" .
64 ln -s "./${LangDir}/weekday.xpm" .
66 echo "Building Makefile from Imakefile ..."
67 echo "----------------------------------------------------------------"
70 echo "----------------------------------------------------------------"
71 echo "Finished configuring. To build wmclock, type 'make'."