aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2003-02-22 13:01:12 +0000
committerGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2003-02-22 13:01:12 +0000
commit613581d8808daba85ad1908f5f05ee11cdb4fab1 (patch)
tree5aea9ab7dbe140e656f0b1831b22e7a234cfc027 /Makefile.am
parent67696d1512a0b065256af01a75e61536fa3980a7 (diff)
downloadmonitoring-plugins-613581d8808daba85ad1908f5f05ee11cdb4fab1.tar.gz
provide target for nagios-plugins.spec
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@353 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'Makefile.am')
-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@