]> git.sesse.net Git - vlc/commitdiff
Don't distribute .la files for win32
authorChristophe Mutricy <xtophe@videolan.org>
Mon, 16 Apr 2007 21:39:07 +0000 (21:39 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Mon, 16 Apr 2007 21:39:07 +0000 (21:39 +0000)
extras/contrib/Makefile

index 84f617b7feea0502bd3df81a6ec984a1b874bbdd..fb6108d9b032a555745a9710350a598785a06d44 100644 (file)
@@ -104,8 +104,10 @@ package-win32: FORCE
                cp src/live/$$i/lib$${i}.a  tmp/$(DISTDIR)/live.com/$$i; \
        done;
        ./change_prefix.sh tmp $(PREFIX) /$(DISTDIR)
-#      Klugy kludge    
+#      Remove unused and potentially harmful files     
+       (cd tmp/$(DISTDIR)/lib; rm -f *.la)
        (cd tmp/$(DISTDIR)/bin; rm -f *.exe; chmod a+x *)
+
        (cd tmp; tar cf - $(DISTDIR)) | bzip2 -c > contrib-`date +%Y%m%d`-win32-bin-gcc-`$(CC) --version|head -n 1|cut -f 3 -d ' '`-only.tar.bz2
        rm -rf tmp
 FORCE: