1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
--- setup.py.orig
+++ setup.py
@@ -7,15 +7,15 @@
sys.path.insert(0, 'src')
from phpsh import __version__
-if len(sys.argv) > 1 and sys.argv[1] == "build":
- build_root = os.path.dirname(os.path.realpath(__file__))
- make_dir = os.path.join(build_root, "src/xdebug-clients/geben")
- p = Popen(["make", "-C", make_dir])
- os.waitpid(p.pid, 0)
+### EMACS:if len(sys.argv) > 1 and sys.argv[1] == "build":
+### EMACS: build_root = os.path.dirname(os.path.realpath(__file__))
+### EMACS: make_dir = os.path.join(build_root, "src/xdebug-clients/geben")
+### EMACS: p = Popen(["gmake", "-C", make_dir])
+### EMACS: os.waitpid(p.pid, 0)
# something better than this?
if os.getenv("USER") == "root":
- config_dir = "/etc/phpsh"
+ config_dir = "%%ETCDIR%%"
else:
config_dir = os.getenv("HOME") + "/.phpsh"
@@ -33,7 +33,7 @@
"xdebug-clients/geben/LICENSE",
"xdebug-clients/geben/Makefile",
"xdebug-clients/geben/geben.el",
- "xdebug-clients/geben/geben.elc",
+### EMACS: "xdebug-clients/geben/geben.elc",
"xdebug-clients/geben/help",
"xdebug-clients/geben/tree-widget/geben/*.png"]},
scripts=["src/phpsh", "src/dbgp-phpsh.py"],
|