diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2003-03-08 00:23:26 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2003-03-08 00:23:26 +0000 |
commit | 0d7347fc41b4a0d1948cec5646135da7c2e5c13a (patch) | |
tree | edb17a120fe144418853794d057b6eed88927eb9 | |
parent | 7ceff0d5a95f5c5f34235ef6682595f169864d2f (diff) | |
download | monitoring-plugins-0d7347fc41b4a0d1948cec5646135da7c2e5c13a.tar.gz |
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
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
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 |