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 --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 5ba96212..60e4d3c2 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 v1.2.3