aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2009-10-08 22:13:42 +0000
committerChong Yidong2009-10-08 22:13:42 +0000
commit4f54db4b41893b613d7707e6bb64ccecafe3c91d (patch)
treeedd7bb00d09120f5f2eda54e0ed2fa318fa6c9eb
parent35c7e413c57250ae0bd03d1ac7c36554530fb33b (diff)
downloademacs-4f54db4b41893b613d7707e6bb64ccecafe3c91d.tar.gz
emacs-4f54db4b41893b613d7707e6bb64ccecafe3c91d.zip
* cedet/ede/proj.el (project-compile-project): Fix filename test.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/cedet/ede/proj.el4
2 files changed, 5 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 97a9edb6458..a1b1100a389 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,6 +1,7 @@
12009-10-08 Chong Yidong <cyd@stupidchicken.com> 12009-10-08 Chong Yidong <cyd@stupidchicken.com>
2 2
3 * cedet/ede/proj.el (project-make-dist): Fix filename test. 3 * cedet/ede/proj.el (project-make-dist, project-compile-project):
4 Fix filename test.
4 (ede-proj-dist-makefile): Use expand-file-name instead of concat 5 (ede-proj-dist-makefile): Use expand-file-name instead of concat
5 to expand file names. 6 to expand file names.
6 7
diff --git a/lisp/cedet/ede/proj.el b/lisp/cedet/ede/proj.el
index 86496e239ee..bf50fe63608 100644
--- a/lisp/cedet/ede/proj.el
+++ b/lisp/cedet/ede/proj.el
@@ -474,7 +474,9 @@ Argument COMMAND is the command to use when compiling."
474 (let ((pm (ede-proj-dist-makefile proj)) 474 (let ((pm (ede-proj-dist-makefile proj))
475 (default-directory (file-name-directory (oref proj file)))) 475 (default-directory (file-name-directory (oref proj file))))
476 (ede-proj-setup-buildenvironment proj) 476 (ede-proj-setup-buildenvironment proj)
477 (if (string= pm "Makefile.am") (setq pm "Makefile")) 477 (if (string= (file-name-nondirectory pm) "Makefile.am")
478 (setq pm (expand-file-name "Makefile"
479 (file-name-directory pm))))
478 (compile (concat ede-make-command" -f " pm " all")))) 480 (compile (concat ede-make-command" -f " pm " all"))))
479 481
480;;; Target type specific compilations/debug 482;;; Target type specific compilations/debug