diff options
| author | Chong Yidong | 2009-10-08 22:08:49 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-10-08 22:08:49 +0000 |
| commit | 35c7e413c57250ae0bd03d1ac7c36554530fb33b (patch) | |
| tree | 7bf5c2624812ca64b7966e0ce9982b8c408d0474 | |
| parent | 288f783b7a54b4e68676ab0fff0d107db7d24401 (diff) | |
| download | emacs-35c7e413c57250ae0bd03d1ac7c36554530fb33b.tar.gz emacs-35c7e413c57250ae0bd03d1ac7c36554530fb33b.zip | |
* cedet/ede/proj.el (project-make-dist): Fix filename test.
(ede-proj-dist-makefile): Use expand-file-name instead of concat
to expand file names.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/cedet/ede/proj.el | 19 |
2 files changed, 16 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cd49df78e1d..97a9edb6458 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2009-10-08 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * cedet/ede/proj.el (project-make-dist): Fix filename test. | ||
| 4 | (ede-proj-dist-makefile): Use expand-file-name instead of concat | ||
| 5 | to expand file names. | ||
| 6 | |||
| 1 | 2009-10-08 Michael Albinus <michael.albinus@gmx.de> | 7 | 2009-10-08 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 8 | ||
| 3 | * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain) | 9 | * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain) |
diff --git a/lisp/cedet/ede/proj.el b/lisp/cedet/ede/proj.el index 25c41823ec5..86496e239ee 100644 --- a/lisp/cedet/ede/proj.el +++ b/lisp/cedet/ede/proj.el | |||
| @@ -456,9 +456,10 @@ FILE must be massaged by `ede-convert-path'." | |||
| 456 | (not (y-or-n-p "Dist file already exists. Rebuild? "))) | 456 | (not (y-or-n-p "Dist file already exists. Rebuild? "))) |
| 457 | (error "Try `ede-update-version' before making a distribution")) | 457 | (error "Try `ede-update-version' before making a distribution")) |
| 458 | (ede-proj-setup-buildenvironment this) | 458 | (ede-proj-setup-buildenvironment this) |
| 459 | (if (string= pm "Makefile.am") (setq pm "Makefile")) | 459 | (if (string= (file-name-nondirectory pm) "Makefile.am") |
| 460 | (compile (concat ede-make-command " -f " pm " dist")) | 460 | (setq pm (expand-file-name "Makefile" |
| 461 | )) | 461 | (file-name-directory pm)))) |
| 462 | (compile (concat ede-make-command " -f " pm " dist")))) | ||
| 462 | 463 | ||
| 463 | (defmethod project-dist-files ((this ede-proj-project)) | 464 | (defmethod project-dist-files ((this ede-proj-project)) |
| 464 | "Return a list of files that constitutes a distribution of THIS project." | 465 | "Return a list of files that constitutes a distribution of THIS project." |
| @@ -597,11 +598,11 @@ Converts all symbols into the objects to be used." | |||
| 597 | (concat (file-name-directory (oref this file)) | 598 | (concat (file-name-directory (oref this file)) |
| 598 | "Makefile.am")) | 599 | "Makefile.am")) |
| 599 | ((eq (oref this makefile-type) 'Makefile.in) | 600 | ((eq (oref this makefile-type) 'Makefile.in) |
| 600 | (concat (file-name-directory (oref this file)) | 601 | (expand-file-name "Makefile.in" |
| 601 | "Makefile.in")) | 602 | (file-name-directory (oref this file)))) |
| 602 | ((object-assoc "Makefile" 'makefile (oref this targets)) | 603 | ((object-assoc "Makefile" 'makefile (oref this targets)) |
| 603 | (concat (file-name-directory (oref this file)) | 604 | (expand-file-name "Makefile" |
| 604 | "Makefile")) | 605 | (file-name-directory (oref this file)))) |
| 605 | (t | 606 | (t |
| 606 | (let ((targets (oref this targets))) | 607 | (let ((targets (oref this targets))) |
| 607 | (while (and targets | 608 | (while (and targets |
| @@ -610,8 +611,8 @@ Converts all symbols into the objects to be used." | |||
| 610 | 'ede-proj-target-makefile))) | 611 | 'ede-proj-target-makefile))) |
| 611 | (setq targets (cdr targets))) | 612 | (setq targets (cdr targets))) |
| 612 | (if targets (oref (car targets) makefile) | 613 | (if targets (oref (car targets) makefile) |
| 613 | (concat (file-name-directory (oref this file)) | 614 | (expand-file-name "Makefile" |
| 614 | "Makefile")))))) | 615 | (file-name-directory (oref this file)))))))) |
| 615 | 616 | ||
| 616 | (defun ede-proj-regenerate () | 617 | (defun ede-proj-regenerate () |
| 617 | "Regenerate Makefiles for and edeproject project." | 618 | "Regenerate Makefiles for and edeproject project." |