From 0243f1357ce68e2537b327b367b541ae912c246e Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 25 May 2009 02:11:42 +0000 Subject: Adding dist target. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 76bd364..03778ef 100644 --- a/Makefile +++ b/Makefile @@ -172,6 +172,10 @@ ALL_DEPS = $(addsuffix .dep, $(notdir $(basename $(WHOLE_SOURCES)))) all: dep modules +dist: modules + mkdir -p ../lua-interface-dist + cp *.$(SHARED_EXT) ../lua-interface-dist + modules: $(MODULES_LIST) dep: $(ALL_DEPS) @@ -234,3 +238,5 @@ clean: ./luac -o $@ $< -include $(ALL_DEPS) + +.PHONY: dist clean -- cgit v1.2.3 From b304ed4fe2eca814576067a51a22ab29f73aefb4 Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 25 May 2009 02:14:03 +0000 Subject: Better list of modules in the dist target. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 03778ef..e7504fc 100644 --- a/Makefile +++ b/Makefile @@ -174,7 +174,7 @@ all: dep modules dist: modules mkdir -p ../lua-interface-dist - cp *.$(SHARED_EXT) ../lua-interface-dist + cp $(MODULES_LIST) ../lua-interface-dist modules: $(MODULES_LIST) -- cgit v1.2.3