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

all:
	(cd src; make)

clean:
	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)