From 0d7347fc41b4a0d1948cec5646135da7c2e5c13a Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Sat, 8 Mar 2003 00:23:26 +0000 Subject: Use Makefile's variables (to support a shortcut in sfsnapshot) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@377 f882894a-f735-0410-b71e-b25c423dba1c diff --git a/Makefile.am b/Makefile.am index 5ba9621..60e4d3c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -9,14 +9,14 @@ contrib nagios-plugins.spec.in ACLOCAL_AMFLAGS = -I lib dist-hook: - sed "s/%%{VER}/@VER@/;s/%%{REL}/@REL@/;" $(srcdir)/nagios-plugins.spec.in > $(distdir)/nagios-plugins.spec + sed "s/%%{VER}/${VER}/;s/%%{REL}/${REL}/;" $(srcdir)/nagios-plugins.spec.in > $(distdir)/nagios-plugins.spec test: cd plugins; $(MAKE) test cd plugins-scripts; $(MAKE) test nagios-plugins.spec: nagios-plugins.spec.in - sed "s/%%{VER}/@VER@/;s/%%{REL}/@REL@/;" $? > $@ + sed "s/%%{VER}/${VER}/;s/%%{REL}/${REL}/;" $? > $@ # Solaris pkgmk PACKDIR=build-pkg -- cgit v0.10-9-g596f