Commit 0410da91 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

- Fix building of vlc-config

  VLC can now be built in a subdirectory
parent 8b3d3c15
......@@ -263,6 +263,10 @@ dist-hook:
###############################################################################
bin_SCRIPTS = vlc-config
CLEANFILES = $(bin_SCRIPTS)
vlc-config: $(top_builddir)/config.status $(top_builddir)/vlc-config.in
cd $(top_builddir) && $(SHELL) ./config.status --file=$@
-cd $(top_builddir) && chmod 0755 $@
lib_LIBRARIES = lib/libvlc.a $(LIBRARIES_libvlc_pic)
......
......@@ -4282,7 +4282,10 @@ AC_CONFIG_FILES([
modules/visualization/galaktos/Makefile
])
AC_CONFIG_FILES([vlc-config], [chmod 0755 vlc-config])
# Cannot use AC_CONFIG_FILES([vlc-config]) as is automatically built,
# not provided with the source
${SHELL} ./config.status --file=vlc-config
chmod 0755 vlc-config
dnl Generate makefiles
AC_OUTPUT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment