]> code.delx.au - gnu-emacs-elpa/blob - packages/enwc/Makefile
Merge commit '0cda39255827f283e7578cd469ae42daad9556a2' from js2-mode
[gnu-emacs-elpa] / packages / enwc / Makefile
1 # This is part of ENWC
2 #
3 # Copyright (C) 2012-2013 Free Software Foundation, Inc.
4 #
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This program 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 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18 LISPDIR=./
19 DOCDIR=doc/
20
21 ALLSRC=$(wildcard $(LISPDIR)/*.el)
22 ALLELC=$(wildcard $(LISPDIR)/*.elc)
23
24 PREFIX=/usr/local
25 INFODIR=$(PREFIX)/info
26 SITELISP=$(PREFIX)/share/emacs/site-lisp/enwc
27
28 .PHONY: all install lisp clean
29 .PRECIOUS: %.elc
30 all: lisp
31
32 lisp:
33 #$(MAKE) -C $(LISPDIR)
34
35 install:
36 install -m 644 $(ALLELC) $(SITELISP)
37 install -m 644 $(ALLSRC) $(SITELISP)
38
39 uninstall:
40 -rm -f $(SITELISP)/*.elc
41 -rm -f $(SITELISP)/*.el
42
43 clean:
44 $(MAKE) -C $(LISPDIR) clean