summaryrefslogtreecommitdiffstats
path: root/doc/init.mk
diff options
context:
space:
mode:
Diffstat (limited to 'doc/init.mk')
-rw-r--r--doc/init.mk16
1 files changed, 9 insertions, 7 deletions
diff --git a/doc/init.mk b/doc/init.mk
index 587542f..7dc5efd 100644
--- a/doc/init.mk
+++ b/doc/init.mk
@@ -2,7 +2,9 @@
2# and should have targets init: s_docbuild and optional initcommon: s_doceneacommon 2# and should have targets init: s_docbuild and optional initcommon: s_doceneacommon
3# Typically let doc: depend on init and initcommon inside Makefile 3# Typically let doc: depend on init and initcommon inside Makefile
4# Manually optionally set GLOBALTMPCLONEROOT to yes or to a parent dir for tmpcommon 4# Manually optionally set GLOBALTMPCLONEROOT to yes or to a parent dir for tmpcommon
5# This init.mk file ver R1.00/2016-04-29 5# This init.mk file ver
6# R1.00/2016-04-29
7# R2.00/2017-03-30 changed linux/documentation.git and it's old branch to linux/el_releases-common.git and it's new branch
6 8
7ifeq ($(VERBOSE),yes) 9ifeq ($(VERBOSE),yes)
8VERB := 10VERB :=
@@ -13,13 +15,13 @@ endif
13#Git repositories to be cloned 15#Git repositories to be cloned
14REPO_DOCBUILD := build/docbuild.git 16REPO_DOCBUILD := build/docbuild.git
15NAME_DOCBUILD := docbuild 17NAME_DOCBUILD := docbuild
16REPO_DOCENEACOMMON := linux/documentation.git 18REPO_DOCENEACOMMON := linux/el_releases-common.git
17NAME_DOCENEACOMMON := doceneacommon 19NAME_DOCENEACOMMON := doceneacommon
18 20
19# Set nondefault BRANCH_DOCENEACOMMON in Makefile 21# Set nondefault BRANCH_DOCENEACOMMON in Makefile
20BRANCH_DOCENEACOMMON ?= master-enea 22BRANCH_DOCENEACOMMON ?= master
21# Separate clones of documentation.git with different branches, needed if cloned globally with risk that different distros can be at same place 23# Separate clones of el_releases-common.git with different branches, needed if cloned globally with risk that different distros can be at same place
22ifneq ($(BRANCH_DOCENEACOMMON),master-enea) 24ifneq ($(BRANCH_DOCENEACOMMON),master)
23NAME_DOCENEACOMMON := doceneacommon_$(BRANCH_DOCENEACOMMON) 25NAME_DOCENEACOMMON := doceneacommon_$(BRANCH_DOCENEACOMMON)
24endif 26endif
25 27
@@ -43,11 +45,11 @@ endif
43 45
44usageinit: docusage 46usageinit: docusage
45 @echo 'make initbuild Create s_docbuild and if not exists, clone docbuild.git' 47 @echo 'make initbuild Create s_docbuild and if not exists, clone docbuild.git'
46 @echo 'make initcommon Create s_doceneacommon and if not exists, clone documentation.git' 48 @echo 'make initcommon Create s_doceneacommon and if not exists, clone el_releases-common.git'
47 @echo ' Default clone in tmpcommon' 49 @echo ' Default clone in tmpcommon'
48 @echo ' BOOK_GLOBALCLONEROOT=yes Clone in $(GLOBALTMPCLONEROOT)' 50 @echo ' BOOK_GLOBALCLONEROOT=yes Clone in $(GLOBALTMPCLONEROOT)'
49 @echo ' BOOK_GLOBALCLONEROOT=parentdir Clone in parentdir/tmpcommon' 51 @echo ' BOOK_GLOBALCLONEROOT=parentdir Clone in parentdir/tmpcommon'
50 @echo ' Default branch for documentation.git is master-enea' 52 @echo ' Default branch for el_releases-common.git is master'
51 @echo ' BRANCH_DOCENEACOMMON=... If another branch, Makefile should set this' 53 @echo ' BRANCH_DOCENEACOMMON=... If another branch, Makefile should set this'
52 @echo 'make pullbuild git pull in s_docbuild' 54 @echo 'make pullbuild git pull in s_docbuild'
53 @echo 'make pullcommon git pull in s_doceneacommon' 55 @echo 'make pullcommon git pull in s_doceneacommon'