Browse Source

automake: use MKDIR_P instead of mkdir -p

(cherry picked from commit c87cbb73d9)
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
3.0.x
Steve Lhomme 10 months ago
committed by Jean-Baptiste Kempf
parent
commit
844fb8060e
  1. 2
      modules/gui/macosx/Makefile.am
  2. 4
      share/Makefile.am
  3. 2
      src/Makefile.am

2
modules/gui/macosx/Makefile.am

@ -195,7 +195,7 @@ xib_verbose_0 = @echo " XIB " $@;
xib_verbose__0 = $(xib_verbose_0) xib_verbose__0 = $(xib_verbose_0)
.xib.nib: .xib.nib:
$(AM_V_at)mkdir -p -- gui/macosx/UI $(AM_V_at)$(MKDIR_P) -- gui/macosx/UI
$(xib_verbose)$(XIB) --errors --warnings --notices \ $(xib_verbose)$(XIB) --errors --warnings --notices \
--module VLC --auto-activate-custom-fonts --target-device mac \ --module VLC --auto-activate-custom-fonts --target-device mac \
--minimum-deployment-target 10.7 --output-format human-readable-text \ --minimum-deployment-target 10.7 --output-format human-readable-text \

4
share/Makefile.am

@ -89,7 +89,7 @@ skins2_default_vlt_FILES = \
skins2/default/subX/vol_slider.png skins2/default/subX/vol_slider.png
skins2/default.vlt: $(skins2_default_vlt_FILES) skins2/default.vlt: $(skins2_default_vlt_FILES)
$(AM_V_at)mkdir -p skins2 $(AM_V_at)$(MKDIR_P) "skins2"
$(AM_V_at)rm -f -- skins2/default.vlt.tmp $(AM_V_at)rm -f -- skins2/default.vlt.tmp
$(AM_V_GEN)tarsort= ; \ $(AM_V_GEN)tarsort= ; \
tar --help|grep -q sort=ORDER && tarsort=--sort=name ; \ tar --help|grep -q sort=ORDER && tarsort=--sort=name ; \
@ -116,7 +116,7 @@ luac_verbose_0 = @echo " LUAC $@";
done; \ done; \
echo "Attempt to byte-compile unknown file: $(<)!"; \ echo "Attempt to byte-compile unknown file: $(<)!"; \
exit 1 exit 1
$(AM_V_at)mkdir -p "$$(dirname '$@')" $(AM_V_at)$(MKDIR_P) "$$(dirname '$@')"
$(luac_verbose)$(LUAC) -o $@ $< $(luac_verbose)$(LUAC) -o $@ $<
if BUILD_LUA if BUILD_LUA

2
src/Makefile.am

@ -123,7 +123,7 @@ noinst_HEADERS = \
../include/vlc_about.h: Makefile.am $(top_srcdir)/COPYING $(top_srcdir)/THANKS $(top_srcdir)/AUTHORS ../include/vlc_about.h: Makefile.am $(top_srcdir)/COPYING $(top_srcdir)/THANKS $(top_srcdir)/AUTHORS
$(AM_V_at)rm -f -- "$@.tmp" $(AM_V_at)rm -f -- "$@.tmp"
$(AM_V_at)mkdir -p -- ../include $(AM_V_at)$(MKDIR_P) "../include"
$(AM_V_GEN)(echo "/* Automatically generated file - DO NOT EDIT */" && \ $(AM_V_GEN)(echo "/* Automatically generated file - DO NOT EDIT */" && \
echo "static const char psz_license[] =" && \ echo "static const char psz_license[] =" && \
sed 's/"/\\"/g;s/^.*$$/\"&\\n\"/' "$(top_srcdir)/COPYING" && \ sed 's/"/\\"/g;s/^.*$$/\"&\\n\"/' "$(top_srcdir)/COPYING" && \

Loading…
Cancel
Save