From 613581d8808daba85ad1908f5f05ee11cdb4fab1 Mon Sep 17 00:00:00 2001
From: Karl DeBisschop <kdebisschop@users.sourceforge.net>
Date: Sat, 22 Feb 2003 13:01:12 +0000
Subject: provide target for nagios-plugins.spec

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@353 f882894a-f735-0410-b71e-b25c423dba1c

diff --git a/Makefile.am b/Makefile.am
index a6729d4..5ba9621 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@
-- 
cgit v0.10-9-g596f

