]> code.delx.au - gnu-emacs/blobdiff - lisp/cedet/ede/project-am.el
Update copyright year to 2015
[gnu-emacs] / lisp / cedet / ede / project-am.el
index 1caaee4b7d4501cead416c6b1174452ba2bbe8d8..3a66a49e432fbb71087af4a6b1c074ebb91f6f0f 100644 (file)
@@ -1,10 +1,10 @@
 ;;; project-am.el --- A project management scheme based on automake files.
 
-;; Copyright (C) 1998-2000, 2003, 2005, 2007-2012
-;;   Free Software Foundation, Inc.
+;; Copyright (C) 1998-2000, 2003, 2005, 2007-2015 Free Software
+;; Foundation, Inc.
 
 ;; Author: Eric M. Ludlam <zappo@gnu.org>
-;; Version: 0.0.3
+;; Old-Version: 0.0.3
 ;; Keywords: project, make
 
 ;; This file is part of GNU Emacs.
@@ -55,7 +55,7 @@
 (defcustom project-am-compile-project-command nil
   "*Default command used to compile a project."
   :group 'project-am
-  :type 'string)
+  :type '(choice (const nil) string))
 
 (defcustom project-am-compile-target-command (concat ede-make-command " -k %s")
   "*Default command used to compile a project."
@@ -205,7 +205,7 @@ OT is the object target.  DIR is the directory to start in."
                                                         (oref amf targets))
                                      nil t))))
         ;; The input target might be new.  See if we can find it.
-        (amf (ede-load-project-file (oref ot path)))
+        (amf (ede-target-parent ot))
         (ot (object-assoc target 'name (oref amf targets)))
         (ofn (file-name-nondirectory (buffer-file-name))))
     (if (not ot)
@@ -896,7 +896,7 @@ files in the project."
     out))
 
 
-;;; Configure.am queries.
+;;; Configure.ac queries.
 ;;
 (defvar project-am-autoconf-file-options
   '("configure.ac" "configure.in")
@@ -1014,4 +1014,8 @@ per file or in .dir-locals.el or similar."
 
 (provide 'ede/project-am)
 
+;; Local variables:
+;; generated-autoload-load-name: "ede/project-am"
+;; End:
+
 ;;; ede/project-am.el ends here