浏览代码

moved makefile to sphinx/

digital 7 年之前
父节点
当前提交
652188b9b2
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      sphinx/Makefile

+ 4 - 3
Makefile → sphinx/Makefile

@@ -2,11 +2,12 @@
 #
 
 # You can set these variables from the command line.
-SPHINXOPTS    = -c sphinx/
+PROJECT_ROOT  = ../
+SPHINXOPTS    = -c $(PROJECT_ROOT)sphinx/
 SPHINXBUILD   = sphinx-build
 SPHINXPROJ    = BeeWatch
-SOURCEDIR     = .
-BUILDDIR      = docs/
+SOURCEDIR     = $(PROJECT_ROOT)
+BUILDDIR      = $(PROJECT_ROOT)docs
 
 # Put it first so that "make" without argument is like "make help".
 help: