summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2003-03-08 00:23:26 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2003-03-08 00:23:26 (GMT)
commitbc6ce874fbec767dd0047911de60ee16a0256b32 (patch)
tree5e02279338e3c3f2d034d02a0bd74813f9f75ad3 /Makefile.am
parentbbbe965a6eb3a56c1bb9765c631fdec27792e4a2 (diff)
downloadmonitoring-plugins-bc6ce874fbec767dd0047911de60ee16a0256b32.tar.gz
Use Makefile's variables (to support a shortcut in sfsnapshot)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/branches/release-1.3.0@377 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
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
9ACLOCAL_AMFLAGS = -I lib 9ACLOCAL_AMFLAGS = -I lib
10 10
11dist-hook: 11dist-hook:
12 sed "s/%%{VER}/@VER@/;s/%%{REL}/@REL@/;" $(srcdir)/nagios-plugins.spec.in > $(distdir)/nagios-plugins.spec 12 sed "s/%%{VER}/${VER}/;s/%%{REL}/${REL}/;" $(srcdir)/nagios-plugins.spec.in > $(distdir)/nagios-plugins.spec
13 13
14test: 14test:
15 cd plugins; $(MAKE) test 15 cd plugins; $(MAKE) test
16 cd plugins-scripts; $(MAKE) test 16 cd plugins-scripts; $(MAKE) test
17 17
18nagios-plugins.spec: nagios-plugins.spec.in 18nagios-plugins.spec: nagios-plugins.spec.in
19 sed "s/%%{VER}/@VER@/;s/%%{REL}/@REL@/;" $? > $@ 19 sed "s/%%{VER}/${VER}/;s/%%{REL}/${REL}/;" $? > $@
20 20
21# Solaris pkgmk 21# Solaris pkgmk
22PACKDIR=build-pkg 22PACKDIR=build-pkg