diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2003-03-08 00:23:26 (GMT) |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2003-03-08 00:23:26 (GMT) |
commit | bc6ce874fbec767dd0047911de60ee16a0256b32 (patch) | |
tree | 5e02279338e3c3f2d034d02a0bd74813f9f75ad3 /Makefile.am | |
parent | bbbe965a6eb3a56c1bb9765c631fdec27792e4a2 (diff) | |
download | monitoring-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.am | 4 |
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 | |||
9 | ACLOCAL_AMFLAGS = -I lib | 9 | ACLOCAL_AMFLAGS = -I lib |
10 | 10 | ||
11 | dist-hook: | 11 | dist-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 | ||
14 | test: | 14 | test: |
15 | cd plugins; $(MAKE) test | 15 | cd plugins; $(MAKE) test |
16 | cd plugins-scripts; $(MAKE) test | 16 | cd plugins-scripts; $(MAKE) test |
17 | 17 | ||
18 | nagios-plugins.spec: nagios-plugins.spec.in | 18 | nagios-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 |
22 | PACKDIR=build-pkg | 22 | PACKDIR=build-pkg |