[vlc-devel] commit: Improve the peflags target (Christophe Mutricy )

git version control git at videolan.org
Sun Oct 25 22:50:41 CET 2009


vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Sun Oct 25 21:07:42 2009 +0000| [d7c97c823b2a69f9cee5bf6d24a7584c88207aba] | committer: Christophe Mutricy 

Improve the peflags target

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

 extras/contrib/src/Makefile |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index 355159c..b136feb 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -2581,12 +2581,11 @@ xcb-util: xcb-util-$(XCB_UTIL_VERSION).tar.bz2
 # Peflags utility (Windows only)
 # ***************************************************************************
 
-peflags.c:
-	$(WGET) $(PEFLAGS_URL)/$@
+peflags/peflags.c:
+	mkdir -p peflags
+	cd peflags && $(WGET) $(PEFLAGS_URL)/peflags.c
 
-.peflags: peflags.c
-	rm -rf peflags
-	mkdir peflags && mv peflags.c peflags/
+.peflags: peflags/peflags.c
 	cd peflags && gcc peflags.c -o peflags
 	install -d $(PREFIX)/bin
 	cd peflags && install ./peflags $(PREFIX)/bin




More information about the vlc-devel mailing list