Skip to content

Commit

Permalink
Win32 Python puts these in /Scripts instead of /bin
Browse files Browse the repository at this point in the history
I have some colorful language for whoever decided that was a good idea...
  • Loading branch information
tkelman committed Jan 2, 2015
1 parent 1bd6915 commit ec2a5b0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .

JULIA_ENV = $(JULIAHOME)/deps/julia-env
ACTIVATE = $(JULIA_ENV)/bin/activate
SPHINX_BUILD = $(JULIA_ENV)/bin/sphinx-build
# Win32 Python uses /Scripts instead of /bin
JULIA_ENV_BIN = $(shell if [ -e $(JULIA_ENV)/Scripts ]; then echo $(JULIA_ENV)/Scripts; else echo $(JULIA_ENV)/bin; fi)
ACTIVATE = $(JULIA_ENV_BIN)/activate
SPHINX_BUILD = $(JULIA_ENV_BIN)/sphinx-build

$(ACTIVATE):
$(MAKE) -C $(JULIAHOME)/deps install-virtualenv
Expand Down

0 comments on commit ec2a5b0

Please sign in to comment.