Update copyright year to 2014 by running admin/update-copyright.
[emacs.git] / lisp / cedet / ede / proj-aux.el
blobfe7d891cdf1ce94b4a86df78baa482dd6d92e3f4
1 ;;; ede/proj-aux.el --- EDE Generic Project auxiliary file support
3 ;; Copyright (C) 1998-2000, 2007, 2009-2014 Free Software Foundation,
4 ;; Inc.
6 ;; Author: Eric M. Ludlam <zappo@gnu.org>
7 ;; Keywords: project, make
9 ;; This file is part of GNU Emacs.
11 ;; GNU Emacs is free software: you can redistribute it and/or modify
12 ;; it under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation, either version 3 of the License, or
14 ;; (at your option) any later version.
16 ;; GNU Emacs is distributed in the hope that it will be useful,
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 ;; GNU General Public License for more details.
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
24 ;;; Commentary:
26 ;; Handle auxiliary files (README, FAQ, etc) in and EDE Project file.
28 (require 'ede/proj)
29 (require 'ede/pmake)
31 ;;; Code:
32 (defclass ede-proj-target-aux (ede-proj-target)
33 ((sourcetype :initform '(ede-aux-source)))
34 "This target consists of aux files such as READMEs and COPYING.")
36 (defvar ede-aux-source
37 (ede-sourcecode "ede-aux-source-txt"
38 :name "Auxiliary Text"
39 :sourcepattern "^[A-Z]+$\\|\\.txt$")
40 "Miscellaneous fields definition.")
42 (defmethod ede-proj-makefile-sourcevar ((this ede-proj-target-aux))
43 "Return the variable name for THIS's sources."
44 (concat (ede-pmake-varname this) "_AUX"))
46 (provide 'ede/proj-aux)
48 ;;; ede/proj-aux.el ends here