Commit | Line | Data |
---|---|---|
acc33231 CY |
1 | ;;; ede/proj-aux.el --- EDE Generic Project auxilliary file support |
2 | ||
114f9c96 | 3 | ;; Copyright (C) 1998, 1999, 2000, 2007, 2009, 2010 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) | |
32 | ((sourcetype :initform (ede-aux-source))) | |
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 | ||
3999968a | 47 | ;; arch-tag: 668e96e0-2b30-474e-ba3c-9fa4fa696922 |
acc33231 | 48 | ;;; ede/proj-aux.el ends here |