Browse Source

moved makefile to sphinx/

digital 7 years ago
parent
commit
652188b9b2
1 changed files with 4 additions and 3 deletions
  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: