Source

pyPEG / Makefile

Full commit
Volker Birk c633b15 
Volker Birk 77f5ba2 
Volker Birk 5c76d53 
Volker Birk c61e27d 


Volker Birk bb47a42 

Volker Birk 5c76d53 
Volker Birk 6d4b189 
Volker Birk 24857af 
Volker Birk 6d4b189 

Volker Birk a29c812 
Volker Birk 5c76d53 
Volker Birk bb47a42 
Volker Birk 6fb8528 
Volker Birk bb47a42 
Volker Birk c61e27d 
Volker Birk 31e690f 


Volker Birk c61e27d 

Volker Birk 6d4b189 
Volker Birk c61e27d 
Volker Birk 602624d 
Volker Birk 6d4b189 
Volker Birk 77f5ba2 


Volker Birk b52ccf0 

Volker Birk 6d4b189 

Volker Birk b52ccf0 

Volker Birk 9223ad0 

PYTHON=python3.2

.PHONY: docs test_docs clean push dist test register deploy

docs:
	$(MAKE) -C docs
	zip -j docs.zip docs/*.html docs/format.css LICENSE.txt

deploy: dist
	rm -f pyPEG2.tar.gz pyPEG2-*.tar.gz
	ln -s `ls dist/pyPEG2-*.tar.gz | tail -n1` pyPEG2.tar.gz
	ln -s `ls dist/pyPEG2-*.tar.gz | tail -n1`
	scp docs/*.html docs/format.css pyPEG2.tar.gz pyPEG2-*.tar.gz *.txt samples/* dragon:fdik.org/pyPEG2/
	make register

register:
	$(PYTHON) setup.py check
	$(PYTHON) setup.py register

test_docs:
	$(MAKE) -C docs test

clean:
	$(MAKE) -C docs clean
	rm -Rf dist MANIFEST docs.zip pyPEG2.tar.gz pyPEG2-*.tar.gz

push:
	hg push ssh://hg@bitbucket.org/fdik/pyPEG

dist: docs
	$(PYTHON) setup.py sdist

test:
	PYTHONPATH=`pwd` $(PYTHON) pyPEG2/test/test_pyPEG2.py
	PYTHONPATH=`pwd` $(PYTHON) pyPEG2/test/test_xmlast.py
	PYTHONPATH=`pwd` $(PYTHON) samples/sample1.py
	PYTHONPATH=`pwd` $(PYTHON) samples/sample2.py

install: dist
	$(PYTHON) setup.py install --user