summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 45085a311849fefcac1a3f8a4f83239db6d9fd62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PACKAGE = mandi
VERSION = 0.8.2

all:
	(cd src; make)

clean:
	find -maxdepth 1 -type d -name 'mandi-*' -exec rm -r {} \;
	find -name '*~' -exec rm {} \;
	make -C src clean

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