Use Makefile target efficiently - reed-alert - Lightweight agentless alerting system for server HTML git clone git://bitreich.org/reed-alert/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/reed-alert/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 48ae4c7162a374943b90511fed185d1c12f7ed91 DIR parent 36ceae466600023b8ed4a1893d87cd10720a2be5 HTML Author: Solene Rapenne <solene@perso.pw> Date: Wed, 24 Oct 2018 06:50:28 +0200 Use Makefile target efficiently Diffstat: M Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- DIR diff --git a/Makefile b/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