mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-30 23:45:27 +08:00
6599da043e
From-SVN: r14877
92 lines
2.4 KiB
Makefile
92 lines
2.4 KiB
Makefile
# 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:
|
|
|