joyent-portal/docs/Makefile

57 lines
1.0 KiB
Makefile
Raw Normal View History

2017-01-27 14:49:48 +02:00
NAME := $(lastword $(subst /, ,$(CURDIR)))
# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXPROJ = PrototypeJoyentPortal
SOURCEDIR = source
BUILDDIR = build
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help Makefile
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: build
build:
2017-03-21 16:41:30 +02:00
docker build -t quay.io/yldio/joyent-portal-$(NAME):$(CIRCLE_BRANCH) .
2017-01-27 14:49:48 +02:00
.PHONY: push
push:
2017-01-27 14:56:43 +02:00
docker push quay.io/yldio/joyent-portal-$(NAME)
2017-03-21 16:41:30 +02:00
2017-01-27 14:49:48 +02:00
.PHONY: test
test:
.PHONY: test-ci
test-ci:
.PHONY: install
2017-03-21 16:41:30 +02:00
install:
2017-01-27 14:49:48 +02:00
.PHONY: start
start:
.PHONY: install-production
2017-03-21 16:41:30 +02:00
install-production:
2017-01-27 14:49:48 +02:00
.PHONY: clean
clean:
.PHONY: lint
lint:
.PHONY: lint-ci
lint-ci:
.PHONY: licence-check
lint-ci: