Permalink
Browse files

Move apidoc creation to a toplevel dir with makefiles

  • Loading branch information...
1 parent 7b16acb commit e40a332aa68e12e647ef426aa244e529c61d14a3 Dustin J. Mitchell committed Jul 17, 2010
View
@@ -34,3 +34,5 @@ master/docs/latest
twisted/plugins/dropin.cache
.coverage
coverage-html
+apidocs/reference
+apidocs/reference.tgz
View
@@ -2,10 +2,10 @@
.PHONY: docs apidocs some-apidocs paper
docs:
- $(MAKE) -C docs
+ $(MAKE) -C master/docs
-reference:
- cd docs; ./gen-reference
+apidocs:
+ $(MAKE) -C apidocs
pylint:
cd master; $(MAKE) pylint
View
@@ -0,0 +1,15 @@
+.PHONY: all reference cleanpyc
+
+all: reference.tgz
+
+cleanpyc:
+ cd .. && find master slave -name '*.pyc' -exec rm \{} \; || exit 1
+
+reference: cleanpyc
+ rm -rf reference
+ cd .. && python apidocs/epyrun -o apidocs/reference \
+ --exclude="buildbot\\.test" --exclude="buildslave\\.test" \
+ buildbot buildslave
+
+reference.tgz: reference
+ tar -zcf reference.tgz reference
File renamed without changes.
File renamed without changes.
View
@@ -1,6 +1,6 @@
all: docs.tgz
-VERSION=$(shell python -c 'g = {}; execfile("../master/buildbot/__init__.py",g); print g["version"]')
+VERSION=$(shell python -c 'g = {}; execfile("../buildbot/__init__.py",g); print g["version"]')
buildbot.info: buildbot.texinfo
echo "@set VERSION $(VERSION)" > version.texinfo

0 comments on commit e40a332

Please sign in to comment.