Commits

Anonymous committed 7d768e6

Add Makefile to PHP and Python for repeatable doc generation.

Comments (0)

Files changed (2)

client_lib/php/Makefile

+PHPDOCTOR?=/usr/local/phpdoctor
+
+foo:
+	@echo 'Usage: make {docs|test}'
+
+docs:
+	@echo "Uses PHPDoctor, get it from http://peej.github.com/phpdoctor"
+	${PHPDOCTOR}/phpdoc.php docs.ini
+
+test:
+	php unit_tests.py

client_lib/python/Makefile

+foo:
+	@echo 'Usage: make {docs|test}'
+
+docs:
+	mkdir -p docs
+	pydoc -w riak
+	mv riak.html docs
+
+test:
+	python unit_tests.py