summaryrefslogtreecommitdiff
path: root/po/Makefile.in.in
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <bero@arklinux.org>2006-11-24 23:53:21 +0000
committerBernhard Rosenkraenzer <bero@arklinux.org>2006-11-24 23:53:21 +0000
commit375be5f90cbdc3ea318bb8e751f22bed9b5ca285 (patch)
tree7ab10b0035c50445b734bfc37d195f8931e2a707 /po/Makefile.in.in
parente9b857b24b257fb1fcd2ab78f62b374c69ab0e59 (diff)
downloadgrep-06b2dd013a252658f7498df9723b7da7fcd604ec.tar.gz
Fixesv2.5.2
* po/Makefile.in.in: Adjust to work with automake 1.1x
Diffstat (limited to 'po/Makefile.in.in')
-rw-r--r--po/Makefile.in.in20
1 files changed, 5 insertions, 15 deletions
diff --git a/po/Makefile.in.in b/po/Makefile.in.in
index c74ca17a..f53d47c0 100644
--- a/po/Makefile.in.in
+++ b/po/Makefile.in.in
@@ -34,6 +34,8 @@ GMSGFMT = PATH=../src:$$PATH @GMSGFMT@
MSGFMT = @MSGFMT@
XGETTEXT = PATH=../src:$$PATH @XGETTEXT@
MSGMERGE = PATH=../src:$$PATH msgmerge
+MKDIR_P = @MKDIR_P@
+mkdir_p = @mkdir_p@
DEFS = @DEFS@
CFLAGS = @CFLAGS@
@@ -110,11 +112,7 @@ install-exec:
install-data: install-data-@USE_NLS@
install-data-no: all
install-data-yes: all
- if test -r "$(MKINSTALLDIRS)"; then \
- $(MKINSTALLDIRS) $(DESTDIR)/$(datadir); \
- else \
- $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)/$(datadir); \
- fi
+ $(mkdir_p) $(DESTDIR)/$(datadir)
@catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \
cat=`basename $$cat`; \
@@ -124,11 +122,7 @@ install-data-yes: all
esac; \
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
dir=$$destdir/$$lang/LC_MESSAGES; \
- if test -r "$(MKINSTALLDIRS)"; then \
- $(MKINSTALLDIRS) $(DESTDIR)/$$dir; \
- else \
- $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)/$$dir; \
- fi; \
+ $(mkdir_p) $(DESTDIR)/$$dir; \
if test -r $$cat; then \
$(INSTALL_DATA) $$cat $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT); \
echo "installing $$cat as $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT)"; \
@@ -152,11 +146,7 @@ install-data-yes: all
fi; \
done
if test "$(PACKAGE)" = "gettext"; then \
- if test -r "$(MKINSTALLDIRS)"; then \
- $(MKINSTALLDIRS) $(DESTDIR)/$(gettextsrcdir); \
- else \
- $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)/$(gettextsrcdir); \
- fi; \
+ $(mkdir_p) $(DESTDIR)/$(gettextsrcdir); \
$(INSTALL_DATA) $(srcdir)/Makefile.in.in \
$(DESTDIR)/$(gettextsrcdir)/Makefile.in.in; \
else \