summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..2939173
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,27 @@
+PACKAGE = mageiawelcome
+VERSION = 0.4
+
+TEXT_FILES = makepot \
+ test
+
+DIRS = etc usr
+
+FILES = $(TEXT_FILES) $(DIRS)
+
+clean:
+ rm -f *~ \#*\#
+
+cleandist: clean
+ rm -fr $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.xz
+
+dir:
+ mkdir $(PACKAGE)-$(VERSION)
+
+localcopy:
+ tar c --exclude=.git $(FILES) | tar x -C $(PACKAGE)-$(VERSION)
+
+tar:
+ tar cvYf $(PACKAGE)-$(VERSION).tar.xz $(PACKAGE)-$(VERSION)
+ rm -fr $(PACKAGE)-$(VERSION)
+
+dist: cleandist dir localcopy tar