[modtex] / modtex / trunk / bin / Makefile Repository:
ViewVC logotype

View of /modtex/trunk/bin/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 37 - (download) (annotate)
Thu Jul 5 08:58:21 2007 UTC (3 years, 2 months ago) by peterchd
File size: 524 byte(s)
sgf2dg
COM=PYTHONPATH=../build/lib ./modtex

all:

build:
	cd ..;\
	python setup.py clean build

start: build
	sudo bash -c "${COM} start"

start-debug: build
	sudo bash -c "${COM}-debug start"

stop: build
	sudo bash -c "${COM} stop"

restart:
	sudo apachectl stop;\
	sudo modtex stop;\
	cd ..;\
	sudo rm -frv build;\
	sudo rm -frv /usr/local/lib/python2.5/site-packages/modtex;\
	python setup.py build;\
	sudo python setup.py install;\
	sudo modtex start;\
	sudo apachectl start;\
	sudo tail -f /usr/local/apache2/logs/error_log

Peter Danenberg <pcd at modtex dot org>
ViewVC Help
Powered by ViewVC 1.1-dev