Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-doc
Commits
13f99d15
Commit
13f99d15
authored
Nov 21, 2019
by
Florent Lamiraux
Committed by
Florent Lamiraux florent@laas.fr
Nov 21, 2019
Browse files
[doc/Makefile] Add target fetch.
parent
876f5668
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/Makefile
View file @
13f99d15
...
...
@@ -364,6 +364,13 @@ log:
${MAKE}
"
$$
child_dir"
.log
;
\
done
fetch
:
@
for
child_dir
in
$$
(
ls
${SRC_DIR}
)
;
do
\
test
-d
"
$$
child_dir"
||
continue
;
\
test
-d
"
$$
child_dir/.git"
||
continue
;
\
${MAKE}
"
$$
child_dir"
.fetch
;
\
done
update
:
@
for
child_dir
in
$$
(
ls
${SRC_DIR}
)
;
do
\
test
-d
"
$$
child_dir"
||
continue
;
\
...
...
@@ -378,6 +385,14 @@ update:
git clone
${GIT_QUIET}
--recursive
-b
${
$
(@
:.checkout
=)_branch
}
${
$
(@
:.checkout
=)_repository
}
/
$
(
@:.checkout
=)
;
\
fi
\
%.fetch
:
if
[
"
${
$
(@
:.fetch
=)_repository
}
"
=
""
]
;
then
\
echo
"
$
(@:.fetch=) is not referenced"
;
\
else
\
cd
${SRC_DIR}
/
$
(
@:.fetch
=)
;
\
git fetch
${GIT_QUIET}
origin
;
\
fi
%.update
:
if
[
"
${
$
(@
:.update
=)_repository
}
"
=
""
]
;
then
\
echo
"
$
(@:.update=) is not referenced"
;
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment