summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e9d3b76..d05e6fe 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-DESTDIR?=/usr/local
+PREFIX?=/usr
UPSTREAM=master
VERSION=$(shell git describe --tags $(UPSTREAM))
@@ -7,8 +7,8 @@ all:
clean:
install: check_load
- install -d "$(DESTDIR)/lib/nagios/plugins/"
- install $? "$(DESTDIR)/lib/nagios/plugins/"
+ install -d "$(DESTDIR)$(PREFIX)/lib/nagios/plugins/vserver/"
+ install $? "$(DESTDIR)$(PREFIX)/lib/nagios/plugins/vserver/"
dist:
git archive "$(UPSTREAM)" | gzip > "../vserver-monitoring_$(VERSION).orig.tar.gz"