1
0
mirror of https://github.com/minio/docs.git synced 2025-07-25 21:22:11 +03:00

fix: typo in Makefile kubernetes -> k8s

This commit is contained in:
Harshavardhana
2022-09-13 01:30:01 -07:00
parent 52b13b90f7
commit 1f7ef74cf7
2 changed files with 7 additions and 12 deletions

View File

@ -3,7 +3,7 @@
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?= -n -j "auto" -w "build.log"
SPHINXOPTS ?= -n -j auto -w "build.log"
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = build
@ -15,18 +15,15 @@ help:
.PHONY: help Makefile
all: linux windows macos container kubernetes
# dry-run build command to double check output build dirs
dryrun:
@echo "$(SPHINXBUILD) -M $@ '$(SOURCEDIR)' '$(BUILDDIR)/$(GITDIR)' $(SPHINXOPTS) $(O)"
clean-all:
clean:
@echo "Cleaning $(BUILDDIR)/$(GITDIR)"
@rm -rf $(BUILDDIR)/$(GITDIR)
clean-%:
@echo "Cleaning $(BUILDDIR)/$(GITDIR)/$*"
@rm -rf $(BUILDDIR)/$(GITDIR)/$*
@ -328,4 +325,4 @@ sync-deps:
@echo -e "Specify one of the following supported build outputs"
@echo -e "- make linux\n- make macos\n- make windows\n- make k8s\n- make container"
@echo -e "Clean targets with 'make clean-<target>'"
@echo -e "Clean all targets with `make clean-all`"
@echo -e "Clean all targets with `make clean`"

View File

@ -1,5 +1,7 @@
#!/bin/bash
set -ex
branch=$(git branch --show-current)
export NVM_DIR="/home/minio/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
@ -7,11 +9,8 @@ nvm use stable
export PATH=${PATH}:${HOME}/.local/bin
make clean-all
make all
sudo mkdir -p /var/www/docs/minio/windows
sudo mkdir -p /var/www/docs/minio/macos
make clean
make linux windows macos container k8s
sudo rm -rf /var/www/docs/minio/kubernetes/upstream
sudo mkdir -p /var/www/docs/minio/kubernetes/upstream
@ -29,7 +28,6 @@ sudo rm -rf /var/www/docs/minio/macos
sudo mkdir -p /var/www/docs/minio/macos
sudo cp -vr build/${branch}/macos/html/* /var/www/docs/minio/macos/
sudo rm -rf /var/www/docs/minio/windows
sudo mkdir -p /var/www/docs/minio/windows
sudo cp -vr build/${branch}/windows/html/* /var/www/docs/minio/windows/