Skip to content

Commit

Permalink
Populate make build command (#18)
Browse files Browse the repository at this point in the history
* Populate make build command
- runs make docs
- copies files to root from docs build
- runs make clean

* update comment for make build
  • Loading branch information
markurtz authored Mar 3, 2021
1 parent 5eb7f1c commit ca64601
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ style:
# create docs
docs:
cd $(DOCDIR) && $(MAKE) html;
rm -rf _images/ && rm -rf _sources/ && rm -rf _static/ && \
cp -r docs/build/html/ ./;

# creates wheel file
# formats docs source build for github pages
build:
@echo "Build is not supported for docs repo, run 'make docs' instead";
exit 1;
make docs;
rm -rf _images/ && rm -rf _sources/ && rm -rf _static/ && \
cp -r docs/build/html/ ./;
make clean;

# clean package
clean:
Expand Down

0 comments on commit ca64601

Please sign in to comment.