diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index 02514aa..20d5590 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 | ||
3 | SUBDIRS = lib plugins plugins-scripts | 3 | SUBDIRS = intl lib plugins plugins-scripts po |
4 | 4 | ||
5 | EXTRA_DIST = CODING FAQ LEGAL REQUIREMENTS SUPPORT \ | 5 | EXTRA_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 | ||
8 | ACLOCAL_AMFLAGS = -I lib | 9 | ACLOCAL_AMFLAGS = -I lib |
9 | 10 | ||
11 | localedir = $(datadir)/locale | ||
12 | DEFS = -DLOCALEDIR=\"$(localedir)\" | ||
13 | |||
10 | dist-hook: | 14 | dist-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 | ||
13 | test: | 17 | test: |
14 | cd plugins; $(MAKE) test | 18 | cd plugins; $(MAKE) test |
15 | cd plugins-scripts; $(MAKE) test | 19 | cd plugins-scripts; $(MAKE) test |
16 | 20 | ||
17 | nagios-plugins.spec: nagios-plugins.spec.in | 21 | nagios-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 |
21 | BUILDDIR = build-solaris | 25 | BUILDDIR = build-solaris |