summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: a5b92cd1e6e1b866ed822b33693cbbfabdf174d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
PACKAGE = mageiawelcome
VERSION = 0.5

TEXT_FILES = makepot \
	     Makefile

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