summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 02514aa0..20d55907 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,21 +1,25 @@
1## Process this file with automake to produce Makefile.in 1## Process this file with automake to produce Makefile.in
2 2
3SUBDIRS = lib plugins plugins-scripts 3SUBDIRS = intl lib plugins plugins-scripts po
4 4
5EXTRA_DIST = CODING FAQ LEGAL REQUIREMENTS SUPPORT \ 5EXTRA_DIST = config.rpath \
6 ABOUT-NLS CODING FAQ LEGAL REQUIREMENTS SUPPORT \
6 Helper.pm contrib pkg nagios-plugins.spec.in 7 Helper.pm contrib pkg nagios-plugins.spec.in
7 8
8ACLOCAL_AMFLAGS = -I lib 9ACLOCAL_AMFLAGS = -I lib
9 10
11localedir = $(datadir)/locale
12DEFS = -DLOCALEDIR=\"$(localedir)\"
13
10dist-hook: 14dist-hook:
11 sed "s/%%{VER}/${VER}/;s/%%{REL}/${REL}/;" $(srcdir)/nagios-plugins.spec.in > $(distdir)/nagios-plugins.spec 15 sed "s/%%{VERSION}/${VERSION}/;s/%%{RELEASE}/${RELEASE}/;" $(srcdir)/nagios-plugins.spec.in > $(distdir)/nagios-plugins.spec
12 16
13test: 17test:
14 cd plugins; $(MAKE) test 18 cd plugins; $(MAKE) test
15 cd plugins-scripts; $(MAKE) test 19 cd plugins-scripts; $(MAKE) test
16 20
17nagios-plugins.spec: nagios-plugins.spec.in 21nagios-plugins.spec: nagios-plugins.spec.in
18 sed "s/%%{VER}/${VER}/;s/%%{REL}/${REL}/;" $? > $@ 22 sed "s/%%{VERSION}/${VERSION}/;s/%%{RELEASE}/${RELEASE}/;" $? > $@
19 23
20# Solaris pkgmk 24# Solaris pkgmk
21BUILDDIR = build-solaris 25BUILDDIR = build-solaris