[vlc-commits] commit: Do not output config.status into srcdir ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Tue Aug 24 19:26:20 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Aug 24 20:23:17 2010 +0300| [3df4c74ca5f142255454a6cbdee037ef91c8a357] | committer: Rémi Denis-Courmont 

Do not output config.status into srcdir

This reverts commit b1aa3f58b13435f680e205be3126a86615d935ac.

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

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

diff --git a/src/Makefile.am b/src/Makefile.am
index 0d5fa72..a34dda0 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -138,7 +138,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=$(srcdir)/$@
+	$(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