mirror of
https://gitlab.com/gnuwget/wget2.git
synced 2025-07-21 17:32:43 +00:00
Fix issue #467 Adding wiki as submodule to repo
* bootstrap.conf: Add clone_wiki() and call it from bootstrap_post_import_hook(). Signed-off-by: Jeffrey Marius <getjff@gmail.com>
This commit is contained in:

committed by
Tim Rühsen

parent
5dedff4c42
commit
7c7bbf2c27
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,3 +1,6 @@
|
||||
[submodule "gnulib"]
|
||||
path = gnulib
|
||||
url = https://git.savannah.gnu.org/git/gnulib.git
|
||||
[submodule "wiki"]
|
||||
path = wiki
|
||||
url = https://gitlab.com/gnuwget/wget2.wiki.git
|
||||
|
@ -164,6 +164,18 @@ pkg-config -
|
||||
tar -
|
||||
"
|
||||
|
||||
clone_wiki() {
|
||||
echo "Wget2 Wiki Cloning in progress..."
|
||||
git submodule update --init -- wiki
|
||||
wiki_status=$?
|
||||
if [ $wiki_status -eq 0 ]
|
||||
then
|
||||
echo "\e[1;32mWiki pages cloned\e[0m"
|
||||
else
|
||||
echo "\e[1;31mUnable to clone wiki but no issues you can continue\e[0m"
|
||||
fi
|
||||
}
|
||||
|
||||
bootstrap_epilogue() {
|
||||
rm -f tests/.gitignore
|
||||
rm -f tests/_Noreturn.h \
|
||||
@ -181,4 +193,6 @@ bootstrap_post_import_hook ()
|
||||
# build. ./bootstrap will create po/Makevars from po/Makevars.template
|
||||
# after our change.
|
||||
echo 'PACKAGE_GNU = yes' >> po/Makevars.template
|
||||
|
||||
clone_wiki
|
||||
}
|
||||
|
1
wiki
Submodule
1
wiki
Submodule
Submodule wiki added at 5b86a95353
Reference in New Issue
Block a user