[gimp-web] Make the mirrors script find the wgo_config module, and prevent errors if /downloads exists already
- From: Michael Schumacher <schumaml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web] Make the mirrors script find the wgo_config module, and prevent errors if /downloads exists already
- Date: Fri, 5 Oct 2012 20:12:39 +0000 (UTC)
commit 78bf7d6e44a1a33d39fe7fd6ff536c02108d52cd
Author: Michael Schumacher <schumaml gmx de>
Date: Fri Oct 5 22:11:28 2012 +0200
Make the mirrors script find the wgo_config module, and prevent errors if /downloads exists already
programmatic/downloads/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/programmatic/downloads/Makefile b/programmatic/downloads/Makefile
index a18c150..7bf754a 100644
--- a/programmatic/downloads/Makefile
+++ b/programmatic/downloads/Makefile
@@ -1,6 +1,8 @@
include ../Makefile.defs
-.PHONY: all install
+.PHONY: all clean install
+
+PYTHONPATH := ../
all: mirrors.xhtml
@@ -11,5 +13,5 @@ clean:
/bin/rm -f mirrors.xhtml
install: mirrors.xhtml
- -mkdir `${PYTHON} -c 'import wgo_config; print wgo_config.DocumentRoot_path'`/downloads
+ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]