mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-01 08:17:38 +00:00
* cedet/ede/proj.el (project-compile-project): Fix filename test.
This commit is contained in:
parent
35c7e413c5
commit
4f54db4b41
@ -1,6 +1,7 @@
|
||||
2009-10-08 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* cedet/ede/proj.el (project-make-dist): Fix filename test.
|
||||
* cedet/ede/proj.el (project-make-dist, project-compile-project):
|
||||
Fix filename test.
|
||||
(ede-proj-dist-makefile): Use expand-file-name instead of concat
|
||||
to expand file names.
|
||||
|
||||
|
@ -474,7 +474,9 @@ Argument COMMAND is the command to use when compiling."
|
||||
(let ((pm (ede-proj-dist-makefile proj))
|
||||
(default-directory (file-name-directory (oref proj file))))
|
||||
(ede-proj-setup-buildenvironment proj)
|
||||
(if (string= pm "Makefile.am") (setq pm "Makefile"))
|
||||
(if (string= (file-name-nondirectory pm) "Makefile.am")
|
||||
(setq pm (expand-file-name "Makefile"
|
||||
(file-name-directory pm))))
|
||||
(compile (concat ede-make-command" -f " pm " all"))))
|
||||
|
||||
;;; Target type specific compilations/debug
|
||||
|
Loading…
Reference in New Issue
Block a user