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