aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2003-07-26 04:17:17 +0000
committerGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2003-07-26 04:17:17 +0000
commit33a6787f51503d1b24f42e57cf365a48378dd56e (patch)
treeed1f566f37269e6928ad733301b9529022f9c4cd /Makefile.am
parent35d8e3500946289de2638596bc0f93b044acc42c (diff)
downloadmonitoring-plugins-33a6787f51503d1b24f42e57cf365a48378dd56e.tar.gz
checkins for internationalization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@598 f882894a-f735-0410-b71e-b25c423dba1c
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 @@
## Process this file with automake to produce Makefile.in
-SUBDIRS = lib plugins plugins-scripts
+SUBDIRS = intl lib plugins plugins-scripts po
-EXTRA_DIST = CODING FAQ LEGAL REQUIREMENTS SUPPORT \
+EXTRA_DIST = config.rpath \
+ ABOUT-NLS CODING FAQ LEGAL REQUIREMENTS SUPPORT \
Helper.pm contrib pkg nagios-plugins.spec.in
ACLOCAL_AMFLAGS = -I lib
+localedir = $(datadir)/locale
+DEFS = -DLOCALEDIR=\"$(localedir)\"
+
dist-hook:
- sed "s/%%{VER}/${VER}/;s/%%{REL}/${REL}/;" $(srcdir)/nagios-plugins.spec.in > $(distdir)/nagios-plugins.spec
+ sed "s/%%{VERSION}/${VERSION}/;s/%%{RELEASE}/${RELEASE}/;" $(srcdir)/nagios-plugins.spec.in > $(distdir)/nagios-plugins.spec
test:
cd plugins; $(MAKE) test
cd plugins-scripts; $(MAKE) test
nagios-plugins.spec: nagios-plugins.spec.in
- sed "s/%%{VER}/${VER}/;s/%%{REL}/${REL}/;" $? > $@
+ sed "s/%%{VERSION}/${VERSION}/;s/%%{RELEASE}/${RELEASE}/;" $? > $@
# Solaris pkgmk
BUILDDIR = build-solaris