[vlc-commits] contrib: fluidlite: use UNPACK

Rémi Denis-Courmont git at videolan.org
Tue Feb 21 18:41:23 CET 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Feb 21 19:07:56 2017 +0200| [1fa4585f8b7f5094c470fe8f5fc3189644bd94dc] | committer: Rémi Denis-Courmont

contrib: fluidlite: use UNPACK

Fix error handling. Piping in Makefile is usually a bad idea.

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

 contrib/src/fluidlite/rules.mak | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/contrib/src/fluidlite/rules.mak b/contrib/src/fluidlite/rules.mak
index bbf91a0..e4c556c 100644
--- a/contrib/src/fluidlite/rules.mak
+++ b/contrib/src/fluidlite/rules.mak
@@ -24,10 +24,8 @@ $(TARBALLS)/fluidlite-$(FLUID_HASH).tar.xz:
 
 DEPS_fluidlite = ogg $(DEPS_ogg)
 
-fluidlite: fluidlite-$(FLUID_HASH).tar.xz .sum-fluidlite
-	rm -Rf $@-$(FLUID_HASH)
-	mkdir -p $@-$(FLUID_HASH)
-	$(XZCAT) "$<" | (cd $@-$(FLUID_HASH) && tar xv --strip-components=1)
+fluidlite: fluidlite-git.tar.xz .sum-fluidlite
+	$(UNPACK)
 	$(MOVE)
 
 .fluidlite: fluidlite toolchain.cmake



More information about the vlc-commits mailing list