diff options
| author | tomas <tomas> | 2005-06-04 18:22:29 +0000 |
|---|---|---|
| committer | tomas <tomas> | 2005-06-04 18:22:29 +0000 |
| commit | 9265a9782269a5deef0ee44b8905b28e01587b3b (patch) | |
| tree | 5143ad56846dd41a292ec206b118a17f8a0e184a | |
| parent | 97abe2139e6eb67ed03da94dfd23dfb0c259a504 (diff) | |
| download | luafilesystem-9265a9782269a5deef0ee44b8905b28e01587b3b.tar.gz luafilesystem-9265a9782269a5deef0ee44b8905b28e01587b3b.tar.bz2 luafilesystem-9265a9782269a5deef0ee44b8905b28e01587b3b.zip | |
Cleanup.
| -rw-r--r-- | Makefile | 16 |
1 files changed, 2 insertions, 14 deletions
| @@ -1,13 +1,10 @@ | |||
| 1 | # $Id: Makefile,v 1.19 2005/05/30 17:54:49 uid20006 Exp $ | 1 | # $Id: Makefile,v 1.20 2005/06/04 18:22:29 tomas Exp $ |
| 2 | 2 | ||
| 3 | T= lfs | 3 | T= lfs |
| 4 | 4 | ||
| 5 | include ./config | 5 | include ./config |
| 6 | 6 | ||
| 7 | V= 1.1 | 7 | V= 1.1 |
| 8 | DIST_DIR= luafilesystem-$V | ||
| 9 | TAR_FILE= $(DIST_DIR).tar.gz | ||
| 10 | ZIP_FILE= $(DIST_DIR).zip | ||
| 11 | LIBNAME= lib$T.$V.so | 8 | LIBNAME= lib$T.$V.so |
| 12 | 9 | ||
| 13 | COMPAT_O= $(COMPAT_DIR)/compat-5.1.o | 10 | COMPAT_O= $(COMPAT_DIR)/compat-5.1.o |
| @@ -29,13 +26,4 @@ install: src/$(LIBNAME) | |||
| 29 | ln -f -s $(LUA_LIBDIR)/$(LIBNAME) $(LUA_LIBDIR)/$T.so | 26 | ln -f -s $(LUA_LIBDIR)/$(LIBNAME) $(LUA_LIBDIR)/$T.so |
| 30 | 27 | ||
| 31 | clean: | 28 | clean: |
| 32 | rm -f $L src/$(LIBNAME) $(OBJS) | 29 | rm -f src/$(LIBNAME) $(OBJS) |
| 33 | |||
| 34 | dist: dist_dir | ||
| 35 | tar -czf $(TAR_FILE) $(DIST_DIR) | ||
| 36 | zip -rq $(ZIP_FILE) $(DIST_DIR)/* | ||
| 37 | rm -rf $(DIST_DIR) | ||
| 38 | |||
| 39 | dist_dir: | ||
| 40 | mkdir -p $(DIST_DIR) | ||
| 41 | cp config $(SRCS) $T.h $T.def Makefile *html luafilesystem.png $(DIST_DIR) | ||
