aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-11-13 00:23:14 +0000
committerng0 <ng0@n0.is>2019-11-13 00:23:14 +0000
commit429a2aede50aebe4ce356f965243e8d938c63682 (patch)
treea188716f566ff6b8dae69ab7eab7490dd337c468
parentd97968a1fa701f7d695cbf6a7768148268449140 (diff)
downloadwww-429a2aede50aebe4ce356f965243e8d938c63682.tar.gz
www-429a2aede50aebe4ce356f965243e8d938c63682.zip
make build more silent again.
-rw-r--r--GNUmakefile1
m---------inc0
-rwxr-xr-xmake_site.py5
3 files changed, 4 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 19a79353..4a1aa38a 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -27,6 +27,7 @@ all: css locale template
27 $(cp) rendered/static/robots.txt rendered/$$lang/robots.txt ; \ 27 $(cp) rendered/static/robots.txt rendered/$$lang/robots.txt ; \
28 done) 28 done)
29 ($(python) inc/make_sitemap.py -i rendered) 29 ($(python) inc/make_sitemap.py -i rendered)
30 ($(cp) sitemap.xml rendered/sitemap.xml)
30 ($(cp) sitemap.xml rendered/en/sitemap.xml) 31 ($(cp) sitemap.xml rendered/en/sitemap.xml)
31 ($(cp) static/moved.html rendered/frontpage.html) 32 ($(cp) static/moved.html rendered/frontpage.html)
32 (cd rendered; $(ln) -fs frontpage.html frontpage) 33 (cd rendered; $(ln) -fs frontpage.html frontpage)
diff --git a/inc b/inc
Subproject 8c22c1ef8737066c03c322d8fef22b26a36442c Subproject 20373c170a50c50380a72a04ef1beb4e715efb7
diff --git a/make_site.py b/make_site.py
index d335f979..55b8510f 100755
--- a/make_site.py
+++ b/make_site.py
@@ -47,13 +47,14 @@ def main():
47 if DEBUG: 47 if DEBUG:
48 print("generating html from jinja2 templates...") 48 print("generating html from jinja2 templates...")
49 x.run("template", conf, env) 49 x.run("template", conf, env)
50 if DEBUG: 50 if DEBUG >= 2:
51 print(Path.cwd()) 51 print(Path.cwd())
52 _ = Path("rendered") 52 _ = Path("rendered")
53 for child in _.iterdir(): 53 for child in _.iterdir():
54 print(child) 54 print(child)
55 if DEBUG: 55 if DEBUG >= 2:
56 print(Path.cwd()) 56 print(Path.cwd())
57 if DEBUG:
57 print("generating html from jinja2 news templates...") 58 print("generating html from jinja2 news templates...")
58 x.run("news", conf, env) 59 x.run("news", conf, env)
59 #for lang in conf["langs_full"]: 60 #for lang in conf["langs_full"]: