Commit e722fcca authored by ndenoyelle's avatar ndenoyelle Committed by Swann Perarnau

[fix] misc errors in make doc

- hide echo command but not echo itself
- fix dist-hook useless if not building doc and creating error on make
  dist
parent 8d99c512
......@@ -6,9 +6,14 @@ if BUILD_DOCS
build-docs:
$(DOXYGEN) aml.doxy
$(SPHINXBUILD) -b html -a . $(SPHINX_BUILD_DIR)
dist-hook: build-docs
cp -r $(SPHINX_BUILD_DIR) $(distdir)
else
build-docs:
echo "not building documentation"
@echo "not building documentation"
dist-hook: build-docs
endif
create-doc-dir:
......@@ -26,7 +31,4 @@ uninstall-local:
clean-local:
rm -rf $(DOXYGEN_BUILD_DIR) $(SPHINX_BUILD_DIR)
dist-hook: build-docs
cp -r $(SPHINX_BUILD_DIR) $(distdir)
EXTRA_DIST= aml.doxy conf.py pages index.rst img
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment