summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Napora <napcok@gmail.com>2013-09-02 10:17:10 +0200
committerDaniel Napora <napcok@gmail.com>2013-09-02 10:17:10 +0200
commit639c9963a46eb212265d15fed82d6445c6a91573 (patch)
treea8ff3cac33b971937cabf39425b9323e09f88f8a /Makefile
parentab3a06469bff53dd1152afdb5bce72a28bac3d4c (diff)
downloadmageiawelcome-639c9963a46eb212265d15fed82d6445c6a91573.tar
mageiawelcome-639c9963a46eb212265d15fed82d6445c6a91573.tar.gz
mageiawelcome-639c9963a46eb212265d15fed82d6445c6a91573.tar.bz2
mageiawelcome-639c9963a46eb212265d15fed82d6445c6a91573.tar.xz
mageiawelcome-639c9963a46eb212265d15fed82d6445c6a91573.zip
Added Makefile
Diffstat (limited to 'Makefile')
-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