[gimp-web/testing] File naming consistency and proper handling of created files
- From: Michael Schumacher <schumaml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/testing] File naming consistency and proper handling of created files
- Date: Fri, 7 Aug 2015 22:38:33 +0000 (UTC)
commit 750c19ad52c18f5fc805293c017d76ca7b57fe92
Author: Michael Schumacher <schumaml gmx de>
Date: Sat Aug 8 00:37:28 2015 +0200
File naming consistency and proper handling of created files
programmatic/downloads/Makefile | 14 ++++++++------
.../downloads/{mirrorfmt.py => mirrorfmt_html.py} | 0
2 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/programmatic/downloads/Makefile b/programmatic/downloads/Makefile
index 05f07df..a5702fa 100644
--- a/programmatic/downloads/Makefile
+++ b/programmatic/downloads/Makefile
@@ -4,23 +4,25 @@ include ../Makefile.defs
PYTHONPATH := ../
-all: mirrors.xhtml
+all: mirrors.xhtml mirrors.json
MIRRORS: MIRRORS.in
grep -v '^#[^#]' MIRRORS.in | sed '/^$$/N;/^\n$$/D' > MIRRORS
mirrors.xhtml: MIRRORS
- ${PYTHON} mirrorfmt.py MIRRORS > mirrors.xhtml
+ ${PYTHON} mirrorfmt_html.py MIRRORS > mirrors.xhtml
-mirrors.json:
+mirrors.json: MIRRORS
${PYTHON} mirrorfmt_json.py MIRRORS > mirrors.json
clean:
- /bin/rm -f mirrors.xhtml
+ /bin/rm -f MIRRORS mirrors.xhtml mirrors.json
-install: mirrors.xhtml
+install: mirrors.xhtml mirrors.json
-mkdir -p `${PYTHON} -c 'import wgo_config; print wgo_config.DocumentRoot_path'`/downloads
- install -m 644 mirrors.xhtml `${PYTHON} -c 'import wgo_config; print
wgo_config.DocumentRoot_path'`/downloads/mirrors.xhtml
+ install -m 644 mirrirs.xhtml
+ install -m 644 `${PYTHON} -c 'import wgo_config; print
wgo_config.DocumentRoot_path'`/downloads/mirrors.xhtml
+ install -m 644 `${PYTHON} -c 'import wgo_config; print
wgo_config.DocumentRoot_path'`/downloads/mirrors.json
install-download: MIRRORS
@if [ ${DownloadRoot}x != "x" ]; then mkdir -p `${PYTHON} -c 'import wgo_config; print
wgo_config.DownloadRoot_path'`/gimp; \
diff --git a/programmatic/downloads/mirrorfmt.py b/programmatic/downloads/mirrorfmt_html.py
similarity index 100%
rename from programmatic/downloads/mirrorfmt.py
rename to programmatic/downloads/mirrorfmt_html.py
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]