gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-www] 02/03: remove nonsensical subshell usage


From: gnunet
Subject: [taler-www] 02/03: remove nonsensical subshell usage
Date: Tue, 04 May 2021 22:36:29 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch stable
in repository www.

commit ddaa3bbd36787faaaa9dcc8c9561365e7e4be035
Author: Florian Dold <florian@dold.me>
AuthorDate: Tue May 4 22:33:02 2021 +0200

    remove nonsensical subshell usage
---
 Makefile | 46 +++++++++++++++++++++++-----------------------
 1 file changed, 23 insertions(+), 23 deletions(-)

diff --git a/Makefile b/Makefile
index 93448f6..333afe1 100644
--- a/Makefile
+++ b/Makefile
@@ -8,31 +8,31 @@ LANGUAGES="en ar zh_Hant fr de hi it ja ko pt pt_BR ru es sv 
tr"
 # All: build HTML pages in all languages and compile the
 .PHONY: all
 all: locale template
-       ($(cp) rendered/static/javascript.html rendered/javascript.html)
-       ($(cp) rendered/static/robots.txt rendered/robots.txt)
-       ($(cp) rendered/static/robots.txt rendered/dist/robots.txt)
-       (for lang in `echo $(LANGUAGES)` ; do \
+       $(cp) rendered/static/javascript.html rendered/javascript.html
+       $(cp) rendered/static/robots.txt rendered/robots.txt
+       $(cp) rendered/static/robots.txt rendered/dist/robots.txt
+       for lang in `echo $(LANGUAGES)` ; do \
                $(cp) rendered/static/robots.txt rendered/$$lang/robots.txt; \
-       done)
-       ($(python) inc/make_sitemap.py -i rendered)
-       ($(cp) sitemap.xml rendered/sitemap.xml)
-       ($(cp) sitemap.xml rendered/en/sitemap.xml)
-       (for lang in `echo $(LANGUAGES)` ; do \
+       done
+       $(python) inc/make_sitemap.py -i rendered
+       $(cp) sitemap.xml rendered/sitemap.xml
+       $(cp) sitemap.xml rendered/en/sitemap.xml
+       for lang in `echo $(LANGUAGES)` ; do \
                $(cp) rendered/sitemap.xml rendered/$$lang ; \
-       done)
-       ($(cp) -R images rendered/static/)
-       (for lang in `echo $(LANGUAGES)` ; \
+       done
+       $(cp) -R images rendered/static/
+       for lang in `echo $(LANGUAGES)` ; \
                do $(cp) -R images rendered/$$lang ; \
-       done)
-       (cd rendered; \
+       done
+       cd rendered; \
                for lang in `echo $(LANGUAGES)`; do \
                $(cp) $$lang/rss.xml $$lang/news/rss.xml; \
-       done)
-       (for d in dist icons papers presentations ; do \
+       done
+       for d in dist icons papers presentations ; do \
                $(cp) -R $$d rendered/ ; \
-       done)
-       ($(cp) -R pdf rendered/static/)
-       ($(mkdir) -p rendered/.well-known ; $(cp) .well-known/security.txt 
rendered/.well-known/)
+       done
+       $(cp) -R pdf rendered/static/
+       $(mkdir) -p rendered/.well-known ; $(cp) .well-known/security.txt 
rendered/.well-known/
 
 # Extract translateable strings from jinja2 templates.
 locale/messages.pot: template/*.j2 common/*.j2 common/*.j2.inc
@@ -41,19 +41,19 @@ locale/messages.pot: template/*.j2 common/*.j2 
common/*.j2.inc
 # Update translation (.po) files with new strings.
 .PHONY: locale-update
 locale-update: locale/messages.pot
-       (for lang in `echo $(LANGUAGES)`; do \
+       for lang in `echo $(LANGUAGES)`; do \
                $(msgmerge) -q -U -m --previous 
locale/$$lang/LC_MESSAGES/messages.po locale/messages.pot ; \
-       done)
+       done
 
        if $(grep) -nA1 '#-#-#-#-#' locale/*/LC_MESSAGES/messages.po; then 
$(echo) -e "\nERROR: Conflicts encountered in PO files.\n"; exit 1; fi
 
 # Compile translation files for use.
 .PHONY: locale-compile
 locale-compile:
-       (for lang in `echo $(LANGUAGES)`; do \
+       for lang in `echo $(LANGUAGES)`; do \
                echo compiling $$lang; \
                $(pybabel) -q compile -d locale -l $$lang --use-fuzzy ; \
-       done)
+       done
 
 # Process everything related to gettext translations.
 .PHONY: locale

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]