@@ -192,10 +192,10 @@ NOTEDOWN ?= notedown
192192
193193# Style checks
194194PYCODESTYLE ?= pycodestyle
195- PYCODESTYLE_CFG = $(CODE ) / pycodestyle.cfg
195+ PYCODESTYLE_CFG = $(CODE_TARGET ) pycodestyle.cfg
196196
197197AUTOPEP8 ?= autopep8
198- AUTOPEP8_CFG = $(CODE ) / autopep8.cfg
198+ AUTOPEP8_CFG = $(CODE_TARGET ) autopep8.cfg
199199AUTOPEP8_OPTIONS = --global-config $(AUTOPEP8_CFG ) --aggressive --in-place
200200NBAUTOPEP8 = $(PYTHON ) utils/nbautopep8.py
201201
@@ -1051,7 +1051,7 @@ $(DOCS_TARGET)html/%: $(HTML_TARGET)%
10511051
10521052# Add/update Python code on Web pages
10531053.PHONY : publish-code publish-code-setup
1054- publish-code : $(CODE ) publish-code-setup \
1054+ publish-code : $(CODE_TARGET ) publish-code-setup \
10551055 $(DOCS_TARGET ) code/LICENSE.md \
10561056 $(DOCS_TARGET ) code/README.md \
10571057 $(DOCS_TARGET ) code/requirements.txt \
@@ -1088,9 +1088,9 @@ DIST_CODE_FILES = \
10881088 $(DOCS_TARGET ) code/__init__.py
10891089
10901090clean-dist :
1091- $(RM ) -r $(CODE ) / __pycache__
1092- -chmod +w $(CODE ) / $(UTILS ) $(CODE ) / $(UTILS ) /__pycache__
1093- $(RM ) -r $(CODE ) / $(UTILS ) /__pycache__
1091+ $(RM ) -r $(CODE_TARGET ) __pycache__
1092+ -chmod +w $(CODE_TARGET ) $(UTILS ) $(CODE_TARGET ) $(UTILS ) /__pycache__
1093+ $(RM ) -r $(CODE_TARGET ) $(UTILS ) /__pycache__
10941094 -find $(DOCS_TARGET ) -name __pycache__ -exec $(RM ) -r {} \;
10951095 -find $(DOCS_TARGET ) -name .ipynb_checkpoints -exec $(RM ) -r {} \;
10961096
@@ -1430,12 +1430,12 @@ $(SITEMAP_SVG): $(CHAPTER_SOURCES) $(NBDEPEND)
14301430$(HTML_TARGET ) /Tours.html : $(SITEMAP_SVG )
14311431$(FULL_NOTEBOOKS ) /Tours.ipynb : $(SITEMAP_SVG )
14321432$(RENDERED_NOTEBOOKS ) /Tours.ipynb : $(SITEMAP_SVG )
1433- # $(CODE_TARGET)/ Tours.py: $(SITEMAP_SVG)
1433+ # $(CODE_TARGET)Tours.py: $(SITEMAP_SVG)
14341434
14351435$(HTML_TARGET ) /00_Table_of_Contents.html : $(SITEMAP_SVG ) $(NBTOC )
14361436$(FULL_NOTEBOOKS ) /00_Table_of_Contents.ipynb : $(SITEMAP_SVG ) $(NBTOC )
14371437$(RENDERED_NOTEBOOKS ) /00_Table_of_Contents.ipynb : $(SITEMAP_SVG ) $(NBTOC )
1438- # $(CODE_TARGET)/ 00_Table_of_Contents.py: $(SITEMAP_SVG)
1438+ # $(CODE_TARGET)00_Table_of_Contents.py: $(SITEMAP_SVG)
14391439
14401440
14411441# # Dependencies - should come at the very end
0 commit comments