]> git.sesse.net Git - vlc/commitdiff
contrib: uncompress directx and dshow headers to the right place
authorPierre Ynard <linkfanel@yahoo.fr>
Tue, 5 Jan 2010 18:42:11 +0000 (19:42 +0100)
committerPierre Ynard <linkfanel@yahoo.fr>
Tue, 5 Jan 2010 18:42:11 +0000 (19:42 +0100)
extras/contrib/src/Makefile

index 2140da99b96e6efd94f27df16dfa49aab57a1a78..a63ccd42446c72bffeca20bcecd627b0814ecb27 100644 (file)
@@ -2162,7 +2162,7 @@ DISTCLEAN_PKG += dirac-$(DIRAC_VERSION).tar.gz
 win32-dx7headers.tgz:
        $(WGET) $(DX_HEADERS_URL)
 .dx_headers: win32-dx7headers.tgz
-       (cd ../include ; tar xzf ../src/$<)
+       tar xzf $< -C $(PREFIX)/include
        touch $@
 CLEAN_FILE += .dx_headers
 DISTCLEAN_PKG += win32-dx7headers.tgz
@@ -2177,8 +2177,8 @@ dxva2api.h:
        $(WGET) $(DXVA2_URL)
 
 .dshow_headers: dshow-headers.tgz dxva2api.h
-       (cd ../include ; tar xzf ../src/$<)
-       (cp dxva2api.h ../include)
+       tar xzf $< -C $(PREFIX)/include
+       cp dxva2api.h $(PREFIX)/include
        touch $@
 
 CLEAN_FILE += .dshow_headers