aboutsummaryrefslogtreecommitdiff
path: root/texinfo/emacs/Makefile.in
blob: 5f19d1abea995bfe183ccedc8e2b6951c5a33d3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# Makefile for Texinfo/emacs.
# Copyright (C) 1995, 96 Free Software Foundation, Inc.
# $Id: Makefile.in,v 1.1 1997/08/21 22:57:56 jason Exp $

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# Author: Brian J. Fox (bfox@ai.mit.edu)
#

srcdir = @srcdir@
VPATH = @srcdir@
SHELL = /bin/sh
RM = rm -f


ELISP_SRCS = info.el makeinfo.el texinfo.el texnfo-upd.el \
	      texnfo-tex.el texinfmt.el informat.el detexinfo.el
ELISP_OBJS = info.elc makeinfo.elc texinfo.elc texnfo-upd.elc \
	      texnfo-tex.elc texinfmt.elc informat.elc detexinfo.elc

.SUFFIXES: .el .elc

.el.elc:
	$(srcdir)/elisp-comp $<

all:
sub-all: all

dvi:
install-info:

elisp: $(ELISP_OBJS)
.PHONY: elisp

# Nobody likes any of these install targets.  Fine.  Install it
# manually, then.
install:
	@echo Please install the Emacs Lisp files manually.

uninstall:
	@echo Please uninstall the Emacs Lisp files manually.

# install: $(ELISP_OBJS)
# 	 @(echo "(print (car load-path))" >/tmp/elc.$$$$; \
# 	   lispdir=`emacs -batch -q -l /tmp/elc.$$$$ -nw | grep site-lisp`; \
# 	   rm /tmp/elc.$$$$; \
# 	   if [ "$$lispdir" != "" ]; then \
# 	     lispdir=`echo $$lispdir | sed -e 's/"//g'`; \
# 	     echo "Installing .elc files in $$lispdir."; \
# 	     $(CP) $(ELISP_OBJS) $$lispdir; \
# 	   else \
# 	     echo "To install the elisp files, please copy *.elc to the"; \
# 	     echo "emacs site-lisp directory."; \
# 	   fi)
#
# install: $(ELISP_OBJS)
# 	 for file in $(ELISP_OBJS); do \
# 	   $(INSTALL_DATA) $$file $(lispdir); \
#	 done
#
# uninstall: $(ELISP_OBJS)
# 	cd $(lispdir) && rm -f $(ELISP_OBJS)
#
informat.elc: info.elc
makeinfo.elc: texinfo.elc
texinfmt.elc: texinfo.elc
texinfmt.elc: texnfo-upd.elc

Makefile: $(srcdir)/Makefile.in ../config.status
	cd .. && sh config.status

realclean distclean: clean
	$(RM) Makefile *.log

clean: FORCE
	$(RM) *.elc

FORCE: