2747
|
1 # Makefile for octave's emacs directory |
|
2 # |
7017
|
3 # Copyright (C) 1997, 1998, 1999, 2003, 2005, 2006, 2007 John W. Eaton |
|
4 # |
7016
|
5 # This file is part of Octave. |
|
6 # |
|
7 # Octave is free software; you can redistribute it and/or modify it |
|
8 # under the terms of the GNU General Public License as published by the |
|
9 # Free Software Foundation; either version 3 of the License, or (at |
|
10 # your option) any later version. |
|
11 # |
|
12 # Octave is distributed in the hope that it will be useful, but WITHOUT |
|
13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
14 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
15 # for more details. |
|
16 # |
|
17 # You should have received a copy of the GNU General Public License |
|
18 # along with Octave; see the file COPYING. If not, see |
|
19 # <http://www.gnu.org/licenses/>. |
2747
|
20 |
|
21 TOPDIR = .. |
|
22 |
|
23 srcdir = @srcdir@ |
|
24 top_srcdir = @top_srcdir@ |
|
25 VPATH = @srcdir@ |
|
26 |
|
27 include $(TOPDIR)/Makeconf |
|
28 |
|
29 INSTALL = @INSTALL@ |
|
30 INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
3218
|
31 INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
2747
|
32 INSTALL_DATA = @INSTALL_DATA@ |
|
33 |
|
34 EL_FILES = octave-hlp.el octave-inf.el octave-mod.el |
|
35 |
6071
|
36 SOURCES = $(EL_FILES) octave-tags |
2747
|
37 |
6797
|
38 DISTFILES = $(addprefix $(srcdir)/, Makefile.in $(EL_FILES) octave-tags octave-tags.1 NEWS TODO README) |
2747
|
39 |
|
40 all: |
|
41 .PHONY: all |
|
42 |
2811
|
43 install install-strip: |
6071
|
44 $(INSTALL_SCRIPT) octave-tags $(DESTDIR)$(bindir)/octave-tags |
2811
|
45 .PHONY: install install-strip |
2747
|
46 |
3218
|
47 uninstall: |
6071
|
48 rm -f $(DESTDIR)$(bindir)/octave-tags |
3218
|
49 .PHONY: uninstall |
|
50 |
2747
|
51 tags: |
|
52 ctags $(SOURCES) |
|
53 |
|
54 TAGS: $(SOURCES) |
|
55 etags $(SOURCES) |
|
56 |
|
57 clean mostlyclean: |
|
58 .PHONY: clean mostlyclean |
|
59 |
|
60 distclean: |
|
61 rm -f Makefile |
|
62 .PHONY: distclean |
|
63 |
|
64 maintainer-clean: distclean |
|
65 rm -f tags TAGS |
|
66 .PHONY: maintainer-clean |
|
67 |
|
68 dist: |
6467
|
69 ln $(DISTFILES) ../`cat ../.fname`/emacs |
2747
|
70 .PHONY: dist |