aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-11-04 17:15:43 +0000
committerng0 <ng0@n0.is>2019-11-04 17:15:43 +0000
commit890af764f9c051afcf2e6db80aa6f5fd20972715 (patch)
tree9fe33262c110ff4ae9629d27bd09f82f72427693
parent2f79ffc9c4d6f200c787b6f8a361ac5e49af1227 (diff)
downloadwww-890af764f9c051afcf2e6db80aa6f5fd20972715.tar.gz
www-890af764f9c051afcf2e6db80aa6f5fd20972715.zip
GNUmakefile: mkdir -p
-rw-r--r--GNUmakefile52
1 files changed, 26 insertions, 26 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 785380ea..381118f0 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -20,36 +20,36 @@
20include config.mk 20include config.mk
21 21
22all: css locale template 22all: css locale template
23 $(cp) -R dist rendered/ 23 ($(cp) -R dist rendered/)
24 $(cp) -R static rendered/ 24 ($(cp) -R static rendered/)
25 $(cp) rendered/static/robots.txt rendered/robots.txt 25 ($(cp) rendered/static/robots.txt rendered/robots.txt)
26 $(cp) rendered/static/stage.robots.txt rendered/stage.robots.txt 26 ($(cp) rendered/static/stage.robots.txt rendered/stage.robots.txt)
27 $(cp) rendered/static/robots.txt rendered/dist/robots.txt 27 ($(cp) rendered/static/robots.txt rendered/dist/robots.txt)
28 (for lang in en de es fr it ; do $(cp) rendered/static/robots.txt rendered/$$lang/robots.txt ;done) 28 (for lang in en de es fr it ; do \
29 $(cp) favicon.ico rendered/favicon.ico 29 $(cp) rendered/static/robots.txt rendered/$$lang/robots.txt ; \
30 $(sh) make_sitemap.sh 30 done)
31 $(cp) rendered/sitemap.xml rendered/en/sitemap.xml 31 ($(cp) favicon.ico rendered/favicon.ico)
32 # $(cp) rss.xml rendered/rss.xml 32 ($(sh) make_sitemap.sh)
33 # (for lang in en de es fr it ; do $(cp) rss.xml rendered/$$lang/rss.xml; done) 33 ($(cp) rendered/sitemap.xml rendered/en/sitemap.xml)
34 $(cp) static/moved.html rendered/frontpage.html 34 ($(cp) static/moved.html rendered/frontpage.html)
35 cd rendered; $(ln) -fs frontpage.html frontpage 35 (cd rendered; $(ln) -fs frontpage.html frontpage)
36 $(cp) static/moved_gsoc.html rendered/gsoc.html 36 ($(cp) static/moved_gsoc.html rendered/gsoc.html)
37 cd rendered; $(ln) -fs gsoc.html gsoc 37 (cd rendered; $(ln) -fs gsoc.html gsoc)
38 $(cp) static/moved_gns.html rendered/gns.html 38 ($(cp) static/moved_gns.html rendered/gns.html)
39 cd rendered; $(ln) -fs gns.html gns 39 (cd rendered; $(ln) -fs gns.html gns)
40 $(mkdir) rendered/node ; $(cp) static/moved_about.html rendered/node/about.html 40 ($(mkdir) -p rendered/node ; $(cp) static/moved_about.html rendered/node/about.html)
41 cd rendered/node ; $(ln) -fs about.html 397 41 (cd rendered/node ; $(ln) -fs about.html 397)
42 $(cp) static/moved_about.html rendered/about.html 42 ($(cp) static/moved_about.html rendered/about.html)
43 cd rendered ; $(ln) -fs about.html philosophy 43 (cd rendered ; $(ln) -fs about.html philosophy)
44 (cd rendered; \ 44 (cd rendered; \
45 for lang in en de es fr it; do \ 45 for lang in en de es fr it; do \
46 $(sh) ../rssg $$lang/news/index.html 'GNUnet.org' > $$lang/news/rss.xml; \ 46 $(sh) ../rssg $$lang/news/index.html 'GNUnet.org' > $$lang/news/rss.xml; \
47 done) 47 done)
48 cd rendered/en ; $(ln) -fs news/rss.xml rss.xml 48 (cd rendered/en ; $(ln) -fs news/rss.xml rss.xml)
49 cd rendered/de ; $(ln) -fs news/rss.xml rss.xml 49 (cd rendered/de ; $(ln) -fs news/rss.xml rss.xml)
50 cd rendered/es ; $(ln) -fs news/rss.xml rss.xml 50 (cd rendered/es ; $(ln) -fs news/rss.xml rss.xml)
51 cd rendered/fr ; $(ln) -fs news/rss.xml rss.xml 51 (cd rendered/fr ; $(ln) -fs news/rss.xml rss.xml)
52 cd rendered/it ; $(ln) -fs news/rss.xml rss.xml 52 (cd rendered/it ; $(ln) -fs news/rss.xml rss.xml)
53 53
54 54
55# Extract translateable strings from jinja2 templates. 55# Extract translateable strings from jinja2 templates.