From f307735edc9faee8dd7715d28c24ec70fd9e045c Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 7 Jun 2013 14:35:28 +0200 Subject: debian: debianization --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a178da3 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +VERSION=$(shell dpkg-parsechangelog | sed -n 's/^Version: //p') + +all: + cp -a missing-maintainer-keys.in missing-maintainer-keys + sed -i 's/__VERSION__/$(VERSION)/' missing-maintainer-keys + +clean: + $(RM) missing-maintainer-keys + +install: + install -D missing-maintainer-keys $(DESTDIR)/usr/lib/nagios/plugins/missing-maintainer-keys -- cgit v1.2.3-1-g7c22