wmtime: Move source files to top directory.

Ease the build process by skipping the initial "cd wmtime" step.  Document
this in INSTALL.
This commit is contained in:
Doug Torrance 2015-01-03 16:16:17 -06:00 committed by Carlos R. Mafra
parent 8b51ce7f1b
commit 937d1d280a
6 changed files with 8 additions and 9 deletions

View file

@ -8,11 +8,10 @@ Nothing particular, but a computer might come in handy doh ;-)
Installation Installation
-------------------------------------------------------------- --------------------------------------------------------------
1) % tar -zxvf wmtime-1.1.tar.gz 1) % tar -zxvf wmtime-1.1.tar.gz
2) % cd wmtime/wmtime 2) % make
3) % make 3) % make install (as root)
4) % make install (as root)
5)* WMTime uses month and weekday abbreviations from the 4)* WMTime uses month and weekday abbreviations from the
currently set locale. If these abbreviations do not currently set locale. If these abbreviations do not
use Latin alphabet characters, then WMTime defaults to use Latin alphabet characters, then WMTime defaults to
US/English. US/English.

View file

@ -1,9 +1,9 @@
LIBDIR = -L/usr/X11R6/lib LIBDIR = -L/usr/X11R6/lib
LIBS = -lXpm -lXext -lX11 -lm LIBS = -lXpm -lXext -lX11 -lm
OBJS = wmtime.o \ OBJS = wmtime.o \
../wmgeneral/wmgeneral.o \ wmgeneral/wmgeneral.o \
../wmgeneral/misc.o \ wmgeneral/misc.o \
../wmgeneral/list.o wmgeneral/list.o
XPMS = wmtime-master.xpm wmtime-mask.xbm XPMS = wmtime-master.xpm wmtime-mask.xbm
CC = gcc CC = gcc

View file

@ -78,8 +78,8 @@
#include <X11/xpm.h> #include <X11/xpm.h>
#include <X11/extensions/shape.h> #include <X11/extensions/shape.h>
#include "../wmgeneral/wmgeneral.h" #include "wmgeneral/wmgeneral.h"
#include "../wmgeneral/misc.h" #include "wmgeneral/misc.h"
#include "wmtime-master.xpm" #include "wmtime-master.xpm"
#include "wmtime-mask.xbm" #include "wmtime-mask.xbm"