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

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)