diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2007-02-09 14:35:41 (GMT) |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2007-02-09 14:35:41 (GMT) |
commit | 098d3be6a8c89b08cacc73f2eb0fb292eb2f2e96 (patch) | |
tree | 2666218907a57b3be9b946930aaf608a91c1b048 /po/Makefile.in.in | |
parent | 88ff55667012171c688471eaa84d16311018ec9c (diff) | |
download | monitoring-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.in | 41 |
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@ | |||
25 | exec_prefix = @exec_prefix@ | 27 | exec_prefix = @exec_prefix@ |
26 | datarootdir = @datarootdir@ | 28 | datarootdir = @datarootdir@ |
27 | datadir = @datadir@ | 29 | datadir = @datadir@ |
28 | localedir = $(datadir)/locale | 30 | localedir = @localedir@ |
29 | gettextsrcdir = $(datadir)/gettext/po | 31 | gettextsrcdir = $(datadir)/gettext/po |
30 | 32 | ||
31 | INSTALL = @INSTALL@ | 33 | INSTALL = @INSTALL@ |
32 | INSTALL_DATA = @INSTALL_DATA@ | 34 | INSTALL_DATA = @INSTALL_DATA@ |
33 | MKINSTALLDIRS = @MKINSTALLDIRS@ | 35 | mkinstalldirs = $(SHELL) @install_sh@ -d |
34 | mkinstalldirs = $(SHELL) $(MKINSTALLDIRS) | 36 | mkdir_p = @mkdir_p@ |
35 | 37 | ||
36 | GMSGFMT = @GMSGFMT@ | 38 | GMSGFMT_ = @GMSGFMT@ |
37 | MSGFMT = @MSGFMT@ | 39 | GMSGFMT_no = @GMSGFMT@ |
38 | XGETTEXT = @XGETTEXT@ | 40 | GMSGFMT_yes = @GMSGFMT_015@ |
41 | GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT)) | ||
42 | MSGFMT_ = @MSGFMT@ | ||
43 | MSGFMT_no = @MSGFMT@ | ||
44 | MSGFMT_yes = @MSGFMT_015@ | ||
45 | MSGFMT = $(MSGFMT_$(USE_MSGCTXT)) | ||
46 | XGETTEXT_ = @XGETTEXT@ | ||
47 | XGETTEXT_no = @XGETTEXT@ | ||
48 | XGETTEXT_yes = @XGETTEXT_015@ | ||
49 | XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT)) | ||
39 | MSGMERGE = msgmerge | 50 | MSGMERGE = msgmerge |
40 | MSGMERGE_UPDATE = @MSGMERGE@ --update | 51 | MSGMERGE_UPDATE = @MSGMERGE@ --update |
41 | MSGINIT = msginit | 52 | MSGINIT = msginit |
@@ -159,7 +170,7 @@ install: install-exec install-data | |||
159 | install-exec: | 170 | install-exec: |
160 | install-data: install-data-@USE_NLS@ | 171 | install-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 |
173 | install-data-no: all | 184 | install-data-no: all |
174 | install-data-yes: all | 185 | install-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 | |||
218 | installdirs-exec: | 229 | installdirs-exec: |
219 | installdirs-data: installdirs-data-@USE_NLS@ | 230 | installdirs-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 |
225 | installdirs-data-no: | 236 | installdirs-data-no: |
226 | installdirs-data-yes: | 237 | installdirs-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 | ||
376 | Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@ | 387 | Makefile: 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 | ||
380 | force: | 391 | force: |
381 | 392 | ||