aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a850476..3ccde60 100644
--- a/Makefile
+++ b/Makefile
@@ -36,6 +36,14 @@ dist : $(VERSION).tar.gz
$(VERSION).tar.gz : $(MAIN_LUA) $(MOD_LUAS) $(TEST_LUAS) doc Makefile README TODO LICENSE
@echo "Creating $(VERSION).tar.gz"
@mkdir $(VERSION)
- @cp -r src test doc Makefile README TODO LICENSE $(VERSION)
+ @mkdir $(VERSION)/src
+ @cp $(MAIN_LUA) $(VERSION)/src
+ @mkdir $(VERSION)/src/irc
+ @cp $(MOD_LUAS) $(VERSION)/src/irc
+ @mkdir $(VERSION)/test
+ @cp $(TEST_LUAS) $(VERSION)/test
+ @mkdir $(VERSION)/doc
+ @cp -r doc/* $(VERSION)/doc
+ @cp Makefile README TODO LICENSE $(VERSION)
@tar czf $(VERSION).tar.gz $(VERSION)
@rm -rf $(VERSION)