add Makefile for simple installation

This commit is contained in:
Björn Lässig 2022-01-10 16:57:25 +01:00
parent 375ab6f2b7
commit cd4185d9c7
1 changed files with 8 additions and 0 deletions

8
Makefile Normal file
View File

@ -0,0 +1,8 @@
PREFIX?=/usr
# an empty make target as there is nothing todo
build:
install:
install -d $(DESTDIR)$(PREFIX)/lib/nagios/plugins/
install check-systemd-service $(DESTDIR)$(PREFIX)/lib/nagios/plugins/check_systemd_service