mirror of
https://github.com/minio/docs.git
synced 2025-07-28 19:42:10 +03:00
fix: typo in Makefile kubernetes -> k8s
This commit is contained in:
9
Makefile
9
Makefile
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
# You can set these variables from the command line, and also
|
# You can set these variables from the command line, and also
|
||||||
# from the environment for the first two.
|
# from the environment for the first two.
|
||||||
SPHINXOPTS ?= -n -j "auto" -w "build.log"
|
SPHINXOPTS ?= -n -j auto -w "build.log"
|
||||||
SPHINXBUILD ?= sphinx-build
|
SPHINXBUILD ?= sphinx-build
|
||||||
SOURCEDIR = source
|
SOURCEDIR = source
|
||||||
BUILDDIR = build
|
BUILDDIR = build
|
||||||
@ -15,18 +15,15 @@ help:
|
|||||||
|
|
||||||
.PHONY: help Makefile
|
.PHONY: help Makefile
|
||||||
|
|
||||||
all: linux windows macos container kubernetes
|
|
||||||
|
|
||||||
# dry-run build command to double check output build dirs
|
# dry-run build command to double check output build dirs
|
||||||
dryrun:
|
dryrun:
|
||||||
@echo "$(SPHINXBUILD) -M $@ '$(SOURCEDIR)' '$(BUILDDIR)/$(GITDIR)' $(SPHINXOPTS) $(O)"
|
@echo "$(SPHINXBUILD) -M $@ '$(SOURCEDIR)' '$(BUILDDIR)/$(GITDIR)' $(SPHINXOPTS) $(O)"
|
||||||
|
|
||||||
clean-all:
|
clean:
|
||||||
@echo "Cleaning $(BUILDDIR)/$(GITDIR)"
|
@echo "Cleaning $(BUILDDIR)/$(GITDIR)"
|
||||||
@rm -rf $(BUILDDIR)/$(GITDIR)
|
@rm -rf $(BUILDDIR)/$(GITDIR)
|
||||||
|
|
||||||
clean-%:
|
clean-%:
|
||||||
|
|
||||||
@echo "Cleaning $(BUILDDIR)/$(GITDIR)/$*"
|
@echo "Cleaning $(BUILDDIR)/$(GITDIR)/$*"
|
||||||
@rm -rf $(BUILDDIR)/$(GITDIR)/$*
|
@rm -rf $(BUILDDIR)/$(GITDIR)/$*
|
||||||
|
|
||||||
@ -328,4 +325,4 @@ sync-deps:
|
|||||||
@echo -e "Specify one of the following supported build outputs"
|
@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 "- 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 targets with 'make clean-<target>'"
|
||||||
@echo -e "Clean all targets with `make clean-all`"
|
@echo -e "Clean all targets with `make clean`"
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
branch=$(git branch --show-current)
|
branch=$(git branch --show-current)
|
||||||
export NVM_DIR="/home/minio/.nvm"
|
export NVM_DIR="/home/minio/.nvm"
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads 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
|
export PATH=${PATH}:${HOME}/.local/bin
|
||||||
|
|
||||||
make clean-all
|
make clean
|
||||||
make all
|
make linux windows macos container k8s
|
||||||
|
|
||||||
sudo mkdir -p /var/www/docs/minio/windows
|
|
||||||
sudo mkdir -p /var/www/docs/minio/macos
|
|
||||||
|
|
||||||
sudo rm -rf /var/www/docs/minio/kubernetes/upstream
|
sudo rm -rf /var/www/docs/minio/kubernetes/upstream
|
||||||
sudo mkdir -p /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 mkdir -p /var/www/docs/minio/macos
|
||||||
sudo cp -vr build/${branch}/macos/html/* /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 rm -rf /var/www/docs/minio/windows
|
||||||
sudo mkdir -p /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/
|
sudo cp -vr build/${branch}/windows/html/* /var/www/docs/minio/windows/
|
||||||
|
Reference in New Issue
Block a user