diff --git a/.gitignore b/.gitignore index 82f9275..0041f36 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,7 @@ __pycache__/ *.py[cod] *$py.class - +logfile # C extensions *.so diff --git a/Makefile b/Makefile index 3b3b3a7..ff3057d 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,12 @@ BRANCH ?= main update_and_build: - @git fetch - @if [ "`git rev-list HEAD...origin/$(BRANCH) --count`" -ne "0" ]; then \ - echo "Updates found. Pulling changes and building..."; \ - git pull; \ - docker run --rm -it -v ${PWD}:/docs squidfunk/mkdocs-material build; \ - else \ - echo "No updates. Skipping build."; \ - fi + @git fetch + @if [ "`git rev-list HEAD...origin/$(BRANCH) --count`" -ne "0" ]; then \ + echo "Updates found. Pulling changes and building..."; \ + git pull; \ + docker run --rm -it -v ${PWD}:/docs squidfunk/mkdocs-material build; \ + else \ + echo "No updates. Skipping build."; \ + fi +