mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-24 12:23:08 +00:00
Cleanup.
This commit is contained in:
16
Makefile
16
Makefile
@@ -1,13 +1,10 @@
|
|||||||
# $Id: Makefile,v 1.19 2005/05/30 17:54:49 uid20006 Exp $
|
# $Id: Makefile,v 1.20 2005/06/04 18:22:29 tomas Exp $
|
||||||
|
|
||||||
T= lfs
|
T= lfs
|
||||||
|
|
||||||
include ./config
|
include ./config
|
||||||
|
|
||||||
V= 1.1
|
V= 1.1
|
||||||
DIST_DIR= luafilesystem-$V
|
|
||||||
TAR_FILE= $(DIST_DIR).tar.gz
|
|
||||||
ZIP_FILE= $(DIST_DIR).zip
|
|
||||||
LIBNAME= lib$T.$V.so
|
LIBNAME= lib$T.$V.so
|
||||||
|
|
||||||
COMPAT_O= $(COMPAT_DIR)/compat-5.1.o
|
COMPAT_O= $(COMPAT_DIR)/compat-5.1.o
|
||||||
@@ -29,13 +26,4 @@ install: src/$(LIBNAME)
|
|||||||
ln -f -s $(LUA_LIBDIR)/$(LIBNAME) $(LUA_LIBDIR)/$T.so
|
ln -f -s $(LUA_LIBDIR)/$(LIBNAME) $(LUA_LIBDIR)/$T.so
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $L src/$(LIBNAME) $(OBJS)
|
rm -f src/$(LIBNAME) $(OBJS)
|
||||||
|
|
||||||
dist: dist_dir
|
|
||||||
tar -czf $(TAR_FILE) $(DIST_DIR)
|
|
||||||
zip -rq $(ZIP_FILE) $(DIST_DIR)/*
|
|
||||||
rm -rf $(DIST_DIR)
|
|
||||||
|
|
||||||
dist_dir:
|
|
||||||
mkdir -p $(DIST_DIR)
|
|
||||||
cp config $(SRCS) $T.h $T.def Makefile *html luafilesystem.png $(DIST_DIR)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user