summaryrefslogtreecommitdiffstats
path: root/po/Makefile.in.in
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2007-02-09 14:35:41 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2007-02-09 14:35:41 (GMT)
commit098d3be6a8c89b08cacc73f2eb0fb292eb2f2e96 (patch)
tree2666218907a57b3be9b946930aaf608a91c1b048 /po/Makefile.in.in
parent88ff55667012171c688471eaa84d16311018ec9c (diff)
downloadmonitoring-plugins-098d3be6a8c89b08cacc73f2eb0fb292eb2f2e96.tar.gz
Fixed MKINSTALLDIRS problem on some systems - Lars Stavholm
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1619 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'po/Makefile.in.in')
-rw-r--r--po/Makefile.in.in41
1 files changed, 26 insertions, 15 deletions
diff --git a/po/Makefile.in.in b/po/Makefile.in.in
index 12b73cf..e7d1ab2 100644
--- a/po/Makefile.in.in
+++ b/po/Makefile.in.in
@@ -1,5 +1,7 @@
1# -*- buffer-read-only: t -*- vi: set ro:
2# DO NOT EDIT! GENERATED AUTOMATICALLY!
1# Makefile for PO directory in any package using GNU gettext. 3# Makefile for PO directory in any package using GNU gettext.
2# Copyright (C) 1995-1997, 2000-2005 by Ulrich Drepper <drepper@gnu.ai.mit.edu> 4# Copyright (C) 1995-1997, 2000-2006 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
3# 5#
4# This file can be copied and used freely without restrictions. It can 6# This file can be copied and used freely without restrictions. It can
5# be used in projects which are not available under the GNU General Public 7# be used in projects which are not available under the GNU General Public
@@ -25,17 +27,26 @@ prefix = @prefix@
25exec_prefix = @exec_prefix@ 27exec_prefix = @exec_prefix@
26datarootdir = @datarootdir@ 28datarootdir = @datarootdir@
27datadir = @datadir@ 29datadir = @datadir@
28localedir = $(datadir)/locale 30localedir = @localedir@
29gettextsrcdir = $(datadir)/gettext/po 31gettextsrcdir = $(datadir)/gettext/po
30 32
31INSTALL = @INSTALL@ 33INSTALL = @INSTALL@
32INSTALL_DATA = @INSTALL_DATA@ 34INSTALL_DATA = @INSTALL_DATA@
33MKINSTALLDIRS = @MKINSTALLDIRS@ 35mkinstalldirs = $(SHELL) @install_sh@ -d
34mkinstalldirs = $(SHELL) $(MKINSTALLDIRS) 36mkdir_p = @mkdir_p@
35 37
36GMSGFMT = @GMSGFMT@ 38GMSGFMT_ = @GMSGFMT@
37MSGFMT = @MSGFMT@ 39GMSGFMT_no = @GMSGFMT@
38XGETTEXT = @XGETTEXT@ 40GMSGFMT_yes = @GMSGFMT_015@
41GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT))
42MSGFMT_ = @MSGFMT@
43MSGFMT_no = @MSGFMT@
44MSGFMT_yes = @MSGFMT_015@
45MSGFMT = $(MSGFMT_$(USE_MSGCTXT))
46XGETTEXT_ = @XGETTEXT@
47XGETTEXT_no = @XGETTEXT@
48XGETTEXT_yes = @XGETTEXT_015@
49XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT))
39MSGMERGE = msgmerge 50MSGMERGE = msgmerge
40MSGMERGE_UPDATE = @MSGMERGE@ --update 51MSGMERGE_UPDATE = @MSGMERGE@ --update
41MSGINIT = msginit 52MSGINIT = msginit
@@ -159,7 +170,7 @@ install: install-exec install-data
159install-exec: 170install-exec:
160install-data: install-data-@USE_NLS@ 171install-data: install-data-@USE_NLS@
161 if test "$(PACKAGE)" = "gettext-tools"; then \ 172 if test "$(PACKAGE)" = "gettext-tools"; then \
162 $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \ 173 $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \
163 for file in $(DISTFILES.common) Makevars.template; do \ 174 for file in $(DISTFILES.common) Makevars.template; do \
164 $(INSTALL_DATA) $(srcdir)/$$file \ 175 $(INSTALL_DATA) $(srcdir)/$$file \
165 $(DESTDIR)$(gettextsrcdir)/$$file; \ 176 $(DESTDIR)$(gettextsrcdir)/$$file; \
@@ -172,13 +183,13 @@ install-data: install-data-@USE_NLS@
172 fi 183 fi
173install-data-no: all 184install-data-no: all
174install-data-yes: all 185install-data-yes: all
175 $(mkinstalldirs) $(DESTDIR)$(datadir) 186 $(mkdir_p) $(DESTDIR)$(datadir)
176 @catalogs='$(CATALOGS)'; \ 187 @catalogs='$(CATALOGS)'; \
177 for cat in $$catalogs; do \ 188 for cat in $$catalogs; do \
178 cat=`basename $$cat`; \ 189 cat=`basename $$cat`; \
179 lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ 190 lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
180 dir=$(localedir)/$$lang/LC_MESSAGES; \ 191 dir=$(localedir)/$$lang/LC_MESSAGES; \
181 $(mkinstalldirs) $(DESTDIR)$$dir; \ 192 $(mkdir_p) $(DESTDIR)$$dir; \
182 if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ 193 if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
183 $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ 194 $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
184 echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ 195 echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
@@ -218,19 +229,19 @@ installdirs: installdirs-exec installdirs-data
218installdirs-exec: 229installdirs-exec:
219installdirs-data: installdirs-data-@USE_NLS@ 230installdirs-data: installdirs-data-@USE_NLS@
220 if test "$(PACKAGE)" = "gettext-tools"; then \ 231 if test "$(PACKAGE)" = "gettext-tools"; then \
221 $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \ 232 $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \
222 else \ 233 else \
223 : ; \ 234 : ; \
224 fi 235 fi
225installdirs-data-no: 236installdirs-data-no:
226installdirs-data-yes: 237installdirs-data-yes:
227 $(mkinstalldirs) $(DESTDIR)$(datadir) 238 $(mkdir_p) $(DESTDIR)$(datadir)
228 @catalogs='$(CATALOGS)'; \ 239 @catalogs='$(CATALOGS)'; \
229 for cat in $$catalogs; do \ 240 for cat in $$catalogs; do \
230 cat=`basename $$cat`; \ 241 cat=`basename $$cat`; \
231 lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ 242 lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
232 dir=$(localedir)/$$lang/LC_MESSAGES; \ 243 dir=$(localedir)/$$lang/LC_MESSAGES; \
233 $(mkinstalldirs) $(DESTDIR)$$dir; \ 244 $(mkdir_p) $(DESTDIR)$$dir; \
234 for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ 245 for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
235 if test -n "$$lc"; then \ 246 if test -n "$$lc"; then \
236 if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ 247 if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
@@ -375,7 +386,7 @@ update-gmo: Makefile $(GMOFILES)
375 386
376Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@ 387Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@
377 cd $(top_builddir) \ 388 cd $(top_builddir) \
378 && $(SHELL) ./config.status $(subdir)/$@.in 389 && $(SHELL) ./config.status $(subdir)/$@.in po-directories
379 390
380force: 391force:
381 392