From 639c9963a46eb212265d15fed82d6445c6a91573 Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Mon, 2 Sep 2013 10:17:10 +0200 Subject: Added Makefile --- Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Makefile 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 -- cgit v1.2.1