Makefile 375 Bytes
Newer Older
ijones's avatar
ijones committed
1
2
all:
	ghc -Wall --make -i../:/usr/local/src/HUnit-1.0 Setup.hs -o setup
ijones's avatar
ijones committed
3
clean:
4
5
6
7
	rm -f setup a.out
	rm -rf ,tmp dist
	find . -name "*.o" |xargs rm -f
	find . -name "*.hi" |xargs rm -f
ijones's avatar
ijones committed
8
check: all
ijones's avatar
ijones committed
9
10
11
12
	./setup configure --user --prefix=/tmp/foo
	./setup install --install-prefix=/tmp/bar
	ls /tmp/bar*
	# install w/ register!
ijones's avatar
ijones committed
13
	./setup install
ijones's avatar
ijones committed
14
#	ls /tmp/foo*
ijones's avatar
ijones committed
15
16
	./setup sdist
	ls dist