proj-aux.el 1.5 KB

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