summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 562a09cd8b0c938a82fb357d2cbb01a4da90f62d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
NAME = mandi
VERSION = 1.2

all:
	(cd src; make)

clean:
	find -name '*~' -exec rm {} \;
	make -C src clean

dist: clean
	rm -rf ../$(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar*
	svn export -q -rBASE . ../$(NAME)-$(VERSION)
	tar cjf ../$(NAME)-$(VERSION).tar.bz2 ../$(NAME)-$(VERSION)
	rm -rf ../$(NAME)-$(VERSION)