From 33a6787f51503d1b24f42e57cf365a48378dd56e Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Sat, 26 Jul 2003 04:17:17 +0000 Subject: checkins for internationalization git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@598 f882894a-f735-0410-b71e-b25c423dba1c --- Makefile.am | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Makefile.am') 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 -- cgit v1.2.3-74-g34f1