Fix a few Makefile issues
- Update to showing the VOLTHA 2.6 release
- Update Stratum jobs
Change-Id: I398dd505b1f4972d0519ab443cc47e4ac7bb4b3f
diff --git a/Makefile b/Makefile
index c2c756a..2edb1a2 100644
--- a/Makefile
+++ b/Makefile
@@ -25,13 +25,20 @@
# build targets
+products:
+ mkdir products
+
+site:
+ mkdir site
+
+
build: buildcollector siterender ## Collect build info and create website
-buildcollector: $(VENV_NAME) ## Collect build information from Jenkins jobs
+buildcollector: $(VENV_NAME) products ## Collect build information from Jenkins jobs
source ./$</bin/activate ; set -u ;\
$(PYTHON) buildcollector.py scrape.yaml --credentials credentials.yaml $(COMMON_ARGS)
-siterender: $(VENV_NAME) ## Create static website from build information
+siterender: $(VENV_NAME) site ## Create static website from build information
source ./$</bin/activate ; set -u ;\
$(PYTHON) siterender.py $(COMMON_ARGS)
cp -r static/* site/
@@ -62,13 +69,13 @@
reuse --root . lint
clean: ## Delete all temporary files
- rm -rf products/* site/*
+ rm -rf products site
clean-all: clean ## Delete virtualenv and all cached job information
- rm -rf $(VENV_NAME) jobs/* .tox
+ rm -rf $(VENV_NAME) jobs .tox
help: ## Print help for each target
- @echo nginx test targets
+ @echo sjsg test targets
@echo
@grep '^[[:alnum:]_-]*:.* ##' $(MAKEFILE_LIST) \
| sort | awk 'BEGIN {FS=":.* ## "}; {printf "%-25s %s\n", $$1, $$2};'