diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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" |