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

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)