forked from zendframework/zend-code
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
23 lines (19 loc) · 773 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# zend-expressive Makefile
#
# Primary purpose is for generating the mkdocs.yml from the bookdown.json
# sources.
#
# Configurable variables:
# - BOOKDOWN2MKDOCS - specify the path to the executable; defaults to
# ./vendor/bin/bookdown2mkdocs
#
# Available targets:
# - mkdocs - regenerate mkdocs.yml
# - all - synonym for mkdocs target
BOOKDOWN2MKDOCS?=$(CURDIR)/vendor/bin/bookdown2mkdocs.php
.PHONY : all mkdocs bookdown2mkdocs
all : mkdocs
mkdocs :
@echo "Generating mkdocs.yml from bookdown.json..."
-$(BOOKDOWN2MKDOCS) convert --site-name=zend-code --repo-url=https://github.com/zendframework/zend-code --copyright-url=http://www.zend.com/ --copyright-author="Zend Technologies USA Inc."
@echo "[DONE] Generating mkdocs.yml from bookdown.json"