2
0
mirror of https://github.com/koreader/koreader synced 2024-11-16 06:12:56 +00:00

cleanup old files before fetching new versions

This commit is contained in:
Dobrica Pavlinusic 2012-02-29 16:17:43 +01:00
parent e1a916d48c
commit ccc2f7e134

View File

@ -90,9 +90,11 @@ lfs.o: $(LFSDIR)/src/lfs.c
$(CC) -c $(CFLAGS) -I$(LUADIR)/src -I$(LFSDIR)/src $(LFSDIR)/src/lfs.c -o $@
fetchthirdparty:
-rmdir mupdf
-rmdir lua
-rm lua
-rm -Rf mupdf
-rm -Rf lua lua-5.1.4*
-rm -Rf lsqlite3_svn08*
-rm -Rf sqlite-amalgamation-3070900*
-rm -Rf luafilesystem*
git clone git://git.ghostscript.com/mupdf.git
( cd mupdf ; wget http://www.mupdf.com/download/mupdf-thirdparty.zip && unzip mupdf-thirdparty.zip )
wget http://www.lua.org/ftp/lua-5.1.4.tar.gz && tar xvzf lua-5.1.4.tar.gz && ln -s lua-5.1.4 lua