SMOLNET PORTAL home about changes
Makefile - reed-alert - Lightweight agentless alerting system for server
(URL) git clone git://bitreich.org/reed-alert/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/reed-alert/ (git://bitreich.org)
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
(DIR) LICENSE
---
Makefile (555B)
---
1
2 PREFIX=${DESTDIR}/usr/local
3 LISPDIR=${PREFIX}/share/reed-alert/
4
5 all: reed-alert
6
7 reed-alert: reed-alert.in
8 sed 's,REEDDIR=,&${LISPDIR},' reed-alert.in > reed-alert
9
10 reed-alert-test: reed-alert.in
11 sed 's,REEDDIR=,&../,' reed-alert.in > reed-alert
12
13
14 install: reed-alert
15 mkdir -p ${LISPDIR}
16 mkdir -p ${PREFIX}/bin
17 install -o root -g bin -m 755 reed-alert ${PREFIX}/bin/reed-alert
18 install -o root -g wheel -m 644 probes.lisp functions.lisp ${LISPDIR}/
19
20 test: reed-alert-test
21 cd test && sh ../reed-alert test.lisp
22
23 clean:
24 rm reed-alert
25
26 .PHONY: test
Response: application/gopher-menu
Original URLgopher://bitreich.org/1/scm/reed-alert/file/Makefile.gph
Content-Typeapplication/gopher-menu; charset=utf-8