diff options
-rw-r--r-- | Makefile | 6 | ||||
-rwxr-xr-x | check_load | 2 |
2 files changed, 4 insertions, 4 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" @@ -6,7 +6,7 @@ use warnings; use VServer; use Nagios::Plugin; -our $VERSION = '1.2'; +our $VERSION = '1.3'; sub init_nagios_plugin() { my $plugin = Nagios::Plugin->new( |