1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-16 09:50:25 +00:00
emacs/lispref/Makefile.in

105 lines
2.7 KiB
Makefile
Raw Normal View History

1994-03-28 20:21:44 +00:00
# Makefile for the GNU Emacs Lisp Reference Manual.
#
# 11 August 1990
# Redefine `TEX' if `tex' does not invoke plain TeX. For example:
# TEX=platex
TEX=tex
MAKE=make
SHELL=/bin/sh
INSTALL_INFO = install-info
1999-12-03 18:35:56 +00:00
MAKEINFO=makeinfo
1994-03-28 20:21:44 +00:00
# Where the TeX macros are kept:
texmacrodir = /usr/local/lib/tex/macros
# Standard configure variables.
prefix = @prefix@
infodir = @infodir@
1994-03-28 20:21:44 +00:00
# The name of the manual:
VERSION=2.6
manual = elisp-manual-20-$(VERSION)
1994-03-28 20:21:44 +00:00
# Uncomment this line for permuted index.
# permuted_index = 1
# List of all the texinfo files in the manual:
srcs = elisp.texi back.texi \
abbrevs.texi advice.texi anti.texi backups.texi locals.texi buffers.texi \
calendar.texi commands.texi compile.texi control.texi customize.texi \
debugging.texi display.texi edebug.texi errors.texi eval.texi files.texi \
frames.texi functions.texi hash.texi help.texi hooks.texi \
1994-03-28 20:21:44 +00:00
internals.texi intro.texi keymaps.texi lists.texi \
loading.texi macros.texi maps.texi markers.texi \
minibuf.texi modes.texi nonascii.texi numbers.texi objects.texi \
1994-03-28 20:21:44 +00:00
os.texi positions.texi processes.texi searching.texi \
sequences.texi streams.texi strings.texi symbols.texi \
syntax.texi text.texi tips.texi variables.texi \
windows.texi \
index.unperm index.perm
.PHONY: elisp.dvi clean
# The info file is named `elisp'.
elisp: $(srcs) index.texi
rm -f elisp-*
1999-12-03 18:35:56 +00:00
$(MAKEINFO) elisp.texi
elisp.dvi: $(srcs) index.texi
1994-03-28 20:21:44 +00:00
# Avoid losing old contents of aux file entirely.
-mv elisp.aux elisp.oaux
# First shot to define xrefs:
$(TEX) elisp.texi
if [ a${permuted_index} != a ]; \
then \
./permute-index; \
1998-05-10 01:43:32 +00:00
mv permuted.fns elisp.fns; \
texindex elisp.tp; \
1994-03-28 20:21:44 +00:00
else \
texindex elisp.??; \
1994-03-28 20:21:44 +00:00
fi
$(TEX) elisp.texi
index.texi:
if [ a${permuted_index} != a ]; \
then \
ln -s index.perm index.texi || ln index.perm index.texi; \
1994-03-28 20:21:44 +00:00
else \
ln -s index.unperm index.texi || ln index.unperm index.texi; \
1994-03-28 20:21:44 +00:00
fi
install: elisp
./mkinstalldirs $(infodir)
cp elisp elisp-* $(infodir)
${INSTALL_INFO} --dir-file=${infodir}/dir --info-file=${infodir}/elisp
1994-03-28 20:21:44 +00:00
installall: install
install -c texinfo.tex $(texmacrodir)
clean:
rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
*.vr *.vrs *.pg *.pgs *.ky *.kys
rm -f make.out core
rm -f index.texi
1994-03-28 20:21:44 +00:00
maintainer-clean: clean
rm -f elisp elisp-*
1994-03-28 20:21:44 +00:00
dist:
-rm -rf temp
1994-03-28 20:21:44 +00:00
-mkdir temp
-mkdir temp/$(manual)
-ln README configure.in configure Makefile.in permute-index $(srcs) \
texinfo.tex elisp.dvi elisp.aux elisp.??s elisp elisp-[0-9] elisp-[0-9][0-9] \
temp/$(manual)
-(cd temp/$(manual); rm -f mkinstalldirs)
cp mkinstalldirs temp/$(manual)
1994-03-28 20:21:44 +00:00
(cd temp/$(manual); rm -f *~)
(cd temp; tar chf - $(manual)) | gzip > $(manual).tar.gz
-rm -rf temp