[vlc-commits] commit: Fix out of tree builds ( Rafaël Carré )

git at videolan.org git at videolan.org
Mon Oct 25 18:20:06 CEST 2010


vlc/vlc-1.1 | branch: 1.1 | Rafaël Carré <rafael.carre at gmail.com> | Mon Oct 25 18:13:52 2010 +0200| [c06ef29a8caf0c4b5927da092e432c2b2a5f0a50] | committer: Rafaël Carré 

Fix out of tree builds

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=c06ef29a8caf0c4b5927da092e432c2b2a5f0a50
---

 src/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 7ec0019..b108cff 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -132,7 +132,8 @@ noinst_HEADERS = \
 	$(NULL)
 
 ../include/vlc/libvlc_version.h: ../include/vlc/libvlc_version.h.in $(top_builddir)/config.status
-	$(SHELL) $(top_builddir)/config.status --file=$@
+	$(AM_V_GEN)cd "$(top_builddir)" && \
+	$(SHELL) ./config.status --file=src/$@
 
 ../include/vlc_about.h: Makefile.am $(top_srcdir)/COPYING $(top_srcdir)/THANKS $(top_srcdir)/AUTHORS
 	$(AM_V_at)rm -f -- "$@.tmp"



More information about the vlc-commits mailing list