Code

provide target for nagios-plugins.spec
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>
Sat, 22 Feb 2003 13:01:12 +0000 (13:01 +0000)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>
Sat, 22 Feb 2003 13:01:12 +0000 (13:01 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@353 f882894a-f735-0410-b71e-b25c423dba1c

Makefile.am

index a6729d48ad20fc42b42c4c483368b3d91b190a0f..5ba96212606d572e9d6b153cb8757e8c66db6324 100644 (file)
@@ -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@