Update copyright years again.
[org-mode.git] / lisp / ob-makefile.el
blobab99f00275059ecada5b9838504a84d391d7e53a
1 ;;; ob-makefile.el --- org-babel functions for makefile evaluation
3 ;; Copyright (C) 2009-2014 Free Software Foundation, Inc.
5 ;; Author: Eric Schulte and Thomas S. Dye
6 ;; Keywords: literate programming, reproducible research
7 ;; Homepage: http://orgmode.org
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 ;; This file exists solely for tangling a Makefile from org-mode files.
28 ;;; Code:
29 (require 'ob)
31 (defvar org-babel-default-header-args:makefile '())
33 (defun org-babel-execute:makefile (body params)
34 "Execute a block of makefile code.
35 This function is called by `org-babel-execute-src-block'."
36 body)
38 (defun org-babel-prep-session:makefile (session params)
39 "Return an error if the :session header argument is set. Make
40 does not support sessions."
41 (error "Makefile sessions are nonsensical"))
43 (provide 'ob-makefile)
47 ;;; ob-makefile.el ends here