Skip to content

Commit 0f4544f

Browse files
committed
since we always use the same config dir, set it once
1 parent a4bec83 commit 0f4544f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ sdist: html
3838
# Documentation
3939
.PHONY: html
4040
html:
41-
(cd docs && $(MAKE) html SPHINXOPTS="-c sphinx" LANGUAGE="en")
42-
(cd docs && $(MAKE) html SPHINXOPTS="-c sphinx" LANGUAGE="es")
41+
(cd docs && $(MAKE) html LANGUAGE="en")
42+
(cd docs && $(MAKE) html LANGUAGE="es")
4343

4444
.PHONY: docclean
4545
docclean:
@@ -50,8 +50,8 @@ docclean:
5050
website:
5151
[ ~/Devel/doughellmann/doughellmann/templates/base.html -nt docs/sphinx/web/templates/base.html ] && (echo "Updating base.html" ; cp ~/Devel/doughellmann/doughellmann/templates/base.html docs/sphinx/web/templates/base.html) || exit 0
5252
rm -rf docs/website
53-
(cd docs && $(MAKE) html BUILDING_WEB=1 SPHINXOPTS="-c sphinx" BUILDDIR="website/en" LANGUAGE="en")
54-
(cd docs && $(MAKE) html BUILDING_WEB=1 SPHINXOPTS="-c sphinx" BUILDDIR="website/es" LANGUAGE="es")
53+
(cd docs && $(MAKE) html BUILDING_WEB=1 BUILDDIR="website/en" LANGUAGE="en")
54+
(cd docs && $(MAKE) html BUILDING_WEB=1 BUILDDIR="website/es" LANGUAGE="es")
5555

5656
installwebsite: website
5757
(cd docs/website/en && rsync --rsh=ssh --archive --delete --verbose . www.doughellmann.com:/var/www/doughellmann/DocumentRoot/docs/virtualenvwrapper/)

docs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
LANGUAGE = en
66

77
# You can set these variables from the command line.
8-
SPHINXOPTS =
8+
SPHINXOPTS = -c sphinx
99
SPHINXBUILD = sphinx-build
1010
PAPER =
1111
BUILDDIR = html/$(LANGUAGE)

0 commit comments

Comments
 (0)