- Fix building of vlc-config

VLC can now be built in a subdirectory
This commit is contained in:
Rémi Denis-Courmont 2005-02-06 16:02:24 +00:00
parent 8b3d3c15aa
commit 0410da919e
2 changed files with 8 additions and 1 deletions

View File

@ -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)

View File

@ -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