summaryrefslogtreecommitdiff
path: root/makefile
blob: 5a223e99b325829ec6ad60cb1667ee13007233a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
RM = /bin/rm -f
WEBHOST = login.dulug.duke.edu
WEBPATH = /home/groups/urlgrabber/web/download
PYTHON = python

ChangeLog: FORCE
	maint/cvs2cl.pl -S -U maint/usermap

dist: ChangeLog
	$(PYTHON) setup.py sdist --force-manifest
	scp dist/* $(WEBHOST):$(WEBPATH)/

clean:
	$(RM) MANIFEST
	$(RM) -r dist/
	$(RM) *.pyc urlgrabber/*.pyc scripts/*.pyc test/*.pyc
	$(RM) ChangeLog.bak

test: FORCE
	export PYTHONPATH=.; $(PYTHON) test/runtests.py

FORCE: