mirror of git://bitreich.org/reed-alert
17 lines
394 B
Makefile
17 lines
394 B
Makefile
PREFIX=${DESTDIR}/usr/local
|
|
LISPDIR=${PREFIX}/share/reed-alert/
|
|
|
|
all: reed-alert
|
|
|
|
reed-alert: reed-alert.in
|
|
sed 's,REEDDIR=,&${LISPDIR},' reed-alert.in > reed-alert
|
|
|
|
install: reed-alert
|
|
mkdir -p ${LISPDIR}
|
|
mkdir -p ${PREFIX}/bin
|
|
install -o root -g bin -m 755 reed-alert ${PREFIX}/bin/reed-alert
|
|
install -o root -g wheel -m 644 probes.lisp functions.lisp ${LISPDIR}/
|
|
|
|
clean:
|
|
rm reed-alert
|