aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-09-09 19:19:24 +0300
committerCem Keylan <cem@ckyln.com>2020-09-09 19:19:24 +0300
commit8a0eb40a024c59626a1e158e82830a351cee696c (patch)
tree233830b2d54a545f947a4c48b3bc8df6cf0a746f
parent821fda61da4ab4d596d1399f21fa6cc9b1e51444 (diff)
downloadwebsite-8a0eb40a024c59626a1e158e82830a351cee696c.tar.gz
fetch submodules automatically
-rwxr-xr-xbuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/build b/build
index 13160ea..9e78fa8 100755
--- a/build
+++ b/build
@@ -126,7 +126,10 @@ main() {
genrss src/blog > src/rss.xml
# Generate htmldocs
- make -s -C texidocs DESTDIR="$PWD/src/docs" htmldocs
+ command -v makeinfo && {
+ git submodule update --init --remote -f
+ make -s -C texidocs DESTDIR="$PWD/src/docs" htmldocs
+ }
# Generate pages
genpages