Mercurial > emacs
comparison lisp/cedet/ede/proj-aux.el @ 104496:8c4870c15962
* cedet/ede.el, cedet/ede/*.el: New files.
* cedet/cedet.el: Require ede.
* cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
Require semantic/idle.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sun, 20 Sep 2009 15:06:05 +0000 |
parents | |
children | 2d2d7facd575 |
comparison
equal
deleted
inserted
replaced
104495:4659ddbe20bf | 104496:8c4870c15962 |
---|---|
1 ;;; ede/proj-aux.el --- EDE Generic Project auxilliary file support | |
2 | |
3 ;;; Copyright (C) 1998, 1999, 2000, 2007 Free Software Foundation, Inc. | |
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$") | |
39 "Miscelaneous fields definition.") | |
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 |