Skip to content

Commit

Permalink
[docs] Make sure that docs/build dir exists
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-kabanov committed Feb 17, 2025
1 parent 4e15d4a commit 17ef737
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,13 @@ clean :
$(RM) -r build build.debug build.release

.PHONY : docs
docs :
docs : | mk-docs-build-dir
cd docs && doxygen && make html

.PHONY : docs-from-scratch
docs-from-scratch:
docs-from-scratch: | mk-docs-build-dir
cd docs && rm -rf build && doxygen && make html

.PHONY : mk-docs-build-dir
mk-docs-build-dir:
mkdir -p docs/build

0 comments on commit 17ef737

Please sign in to comment.