summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiruna Paun <Miruna.Paun@enea.com>2017-03-31 14:00:38 +0200
committerMiruna Paun <Miruna.Paun@enea.com>2017-03-31 14:00:38 +0200
commit3af3e895dd79c89c59a70cef90cb3354fbf98ec3 (patch)
treeb4cd2d5ce418fef74bdeeb6f6d431626825a1d0c
parent6c566e97a4a2b182ee2796660b489b9e3c1b8d23 (diff)
downloadel_releases-standard-3af3e895dd79c89c59a70cef90cb3354fbf98ec3.tar.gz
Updating init and makefile with el_releases-common
LXCR-7634 final updates to el_rel standard Signed-off-by: Miruna Paun <Miruna.Paun@enea.com>
-rw-r--r--doc/Makefile2
-rw-r--r--doc/book-enea-linux-release-info/doc/prerequisites.xml2
-rw-r--r--doc/init.mk16
3 files changed, 11 insertions, 9 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 8d76326..9c68e80 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -140,7 +140,7 @@ ifeq ($(DOCBOOK_TOOLS_VERSIONS),yes)
140endif 140endif
141 141
142# We rely on make doing these in order left to right 142# We rely on make doing these in order left to right
143init: initbuild initmanifest initpardoc initbuildboot initpkgdiff initissues 143init: initbuild initcommon initmanifest initpardoc initbuildboot initpkgdiff initissues
144pullall: pullbuild 144pullall: pullbuild
145 145
146# If no COMP, iterate over books-* in COMPONENTS with make doc 146# If no COMP, iterate over books-* in COMPONENTS with make doc
diff --git a/doc/book-enea-linux-release-info/doc/prerequisites.xml b/doc/book-enea-linux-release-info/doc/prerequisites.xml
index 93330d6..f61b803 100644
--- a/doc/book-enea-linux-release-info/doc/prerequisites.xml
+++ b/doc/book-enea-linux-release-info/doc/prerequisites.xml
@@ -29,6 +29,6 @@ $ git config --global user.email johndoe@example.com</programlisting>
29 xmlns:xi="http://www.w3.org/2001/XInclude" 29 xmlns:xi="http://www.w3.org/2001/XInclude"
30 xpointer="element(eltf-prereq-apt-get-commands-host/1)" /> 30 xpointer="element(eltf-prereq-apt-get-commands-host/1)" />
31 31
32 <xi:include href="system_requirements.xml" 32 <xi:include href="../../s_doceneacommon/doc/system_requirements.xml"
33 xmlns:xi="http://www.w3.org/2001/XInclude" /> 33 xmlns:xi="http://www.w3.org/2001/XInclude" />
34</chapter> \ No newline at end of file 34</chapter> \ No newline at end of file
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'