mirror of git://bitreich.org/reed-alert
Use Makefile target efficiently
This commit is contained in:
parent
36ceae4666
commit
48ae4c7162
6
Makefile
6
Makefile
|
@ -1,10 +1,12 @@
|
|||
PREFIX=/usr/local
|
||||
LISPDIR=${PREFIX}/share/reed-alert/
|
||||
|
||||
all:
|
||||
all: reed-alert
|
||||
|
||||
reed-alert: reed-alert.in
|
||||
sed 's,REEDDIR=,&${LISPDIR},' reed-alert.in > reed-alert
|
||||
|
||||
install: all
|
||||
install: reed-alert
|
||||
mkdir -p ${LISPDIR}
|
||||
mkdir -p ${PREFIX}/bin
|
||||
cp reed-alert ${PREFIX}/bin/reed-alert
|
||||
|
|
Loading…
Reference in New Issue