Skip to content

Commit

Permalink
.: Replace obsolete mkdir_p variable with MKDIR_P
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=88790

Patch by Arnaud Renevier <arno@renevier.net> on 2012-06-11
Reviewed by Martin Robinson.

* GNUmakefile.am:
* configure.ac:

Source/WebKit/gtk/po: Replace obsolete mkdir_p variables with MKDIR_P
https://bugs.webkit.org/show_bug.cgi?id=88790

Patch by Arnaud Renevier <arno@renevier.net> on 2012-06-11
Reviewed by Martin Robinson.

* GNUmakefile.am:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120012 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
webkit-commit-queue committed Jun 11, 2012
1 parent 3d556f5 commit db03257
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 6 deletions.
10 changes: 10 additions & 0 deletions ChangeLog
@@ -1,3 +1,13 @@
2012-06-11 Arnaud Renevier <arno@renevier.net>

Replace obsolete mkdir_p variable with MKDIR_P
https://bugs.webkit.org/show_bug.cgi?id=88790

Reviewed by Martin Robinson.

* GNUmakefile.am:
* configure.ac:

2012-06-11 Carlos Garcia Campos <cgarcia@igalia.com>

Unreviewed. Fix make distcheck issues.
Expand Down
2 changes: 1 addition & 1 deletion GNUmakefile.am
Expand Up @@ -318,7 +318,7 @@ MAINTAINERCLEANFILES += \
# Older automake versions (1.7) place Plo files in a different place so we need
# to create the output directory manually.
all-local: stamp-po
$(mkdir_p) $(top_builddir)/$(DEPDIR)/DerivedSources
$(MKDIR_P) $(top_builddir)/$(DEPDIR)/DerivedSources

# remove built sources and program directories
clean-local:
Expand Down
9 changes: 9 additions & 0 deletions Source/WebKit/gtk/po/ChangeLog
@@ -1,3 +1,12 @@
2012-06-11 Arnaud Renevier <arno@renevier.net>

Replace obsolete mkdir_p variables with MKDIR_P
https://bugs.webkit.org/show_bug.cgi?id=88790

Reviewed by Martin Robinson.

* GNUmakefile.am:

2012-05-04 Daniel Mustieles <daniel.mustieles@gmail.com>

Updated Spanish translation
Expand Down
8 changes: 4 additions & 4 deletions Source/WebKit/gtk/po/GNUmakefile.am
Expand Up @@ -140,13 +140,13 @@ DISTCLEANFILES += \
$(top_builddir)/Source/WebKit/gtk/po/$(DOMAIN).pot

po-install-data-local: all
$(mkdir_p) $(DESTDIR)$(datadir)
$(MKDIR_P) $(DESTDIR)$(datadir)
@catalogs='$(MOFILES)'; \
for cat in $$catalogs; do \
cat=`basename $$cat`; \
lang=`echo $$cat | sed -e 's/\.mo$$//'`; \
dir=$(localedir)/$$lang/LC_MESSAGES; \
$(mkdir_p) $(DESTDIR)$$dir; \
$(MKDIR_P) $(DESTDIR)$$dir; \
if test -r Source/WebKit/gtk/po/$$cat; then realcat=Source/WebKit/gtk/po/$$cat; else realcat=$(srcdir)/$$cat; fi; \
$(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
Expand Down Expand Up @@ -181,13 +181,13 @@ po-install-data-local: all
done

po-installdirs-data-local:
$(mkdir_p) $(DESTDIR)$(datadir)
$(MKDIR_P) $(DESTDIR)$(datadir)
@catalogs='$(MOFILES)'; \
for cat in $$catalogs; do \
cat=`basename $$cat`; \
lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
dir=$(localedir)/$$lang/LC_MESSAGES; \
$(mkdir_p) $(DESTDIR)$$dir; \
$(MKDIR_P) $(DESTDIR)$$dir; \
for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
if test -n "$$lc"; then \
if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
@@ -1,4 +1,4 @@
AC_PREREQ(2.59)
AC_PREREQ(2.60)

m4_define([webkit_major_version], [1])
m4_define([webkit_minor_version], [9])
Expand Down

0 comments on commit db03257

Please sign in to comment.