Only read the config files when running a command
[stgit/ydirson.git] / Makefile
blobdf77d9731880c02b20cd6400444e06a61364dfdf
1 PREFIX = $(HOME)
2 DESTDIR = /
3 PYTHON = python
5 all:
6 $(PYTHON) setup.py build
8 install:
9 $(PYTHON) setup.py install --prefix=$(PREFIX) --root=$(DESTDIR)
11 doc:
12 cd doc && $(MAKE) all
14 test:
15 cd t && $(MAKE) all
17 clean:
18 for dir in doc t; do \
19 (cd $$dir && $(MAKE) clean); \
20 done
21 rm -rf build
22 rm -f stgit/*.pyc
23 rm -f stgit/commands/*.pyc