[vlc-commits] Contribs: remove win32 binaries faster

Jean-Baptiste Kempf git at videolan.org
Tue Feb 24 20:58:52 CET 2015


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Feb 24 20:57:20 2015 +0100| [96ca0c85b6466316f991f9e8b80e9ff3a9c8eb05] | committer: Jean-Baptiste Kempf

Contribs: remove win32 binaries faster

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

 contrib/src/main.mak |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index cf78d03..d747b06 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -384,14 +384,14 @@ vlc-contrib-$(HOST)-latest.tar.bz2:
 
 prebuilt: vlc-contrib-$(HOST)-latest.tar.bz2
 	-$(UNPACK)
+	$(RM) -r $(TOPDST)/$(HOST)
+	mv $(HOST) $(TOPDST)
+	cd $(TOPDST)/$(HOST) && $(SRC)/change_prefix.sh
 ifdef HAVE_WIN32
 ifndef HAVE_CROSS_COMPILE
-	$(RM) `find $(HOST) | file -f- | grep ELF | awk -F: '{print $1}' | xargs`
+	$(RM) `find $(HOST)/bin | file -f- | grep ELF | awk -F: '{print $$1}' | xargs`
 endif
 endif
-	$(RM) -r $(TOPDST)/$(HOST)
-	mv $(HOST) $(TOPDST)
-	cd $(TOPDST)/$(HOST) && $(SRC)/change_prefix.sh
 
 package: install
 	rm -Rf tmp/



More information about the vlc-commits mailing list