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