aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index a6729d48..5ba96212 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,6 +15,9 @@ test:
cd plugins; $(MAKE) test
cd plugins-scripts; $(MAKE) test
+nagios-plugins.spec: nagios-plugins.spec.in
+ sed "s/%%{VER}/@VER@/;s/%%{REL}/@REL@/;" $? > $@
+
# Solaris pkgmk
PACKDIR=build-pkg
VERSION=@PACKAGE_VERSION@