home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GEMini Atari
/
GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso
/
files
/
gnu
/
tinfo210
/
makefile
< prev
next >
Wrap
Makefile
|
1991-08-29
|
3KB
|
77 lines
#### Makefile for the version 2 Texinfo package -*- text -*- ####
# Robert J. Chassell
# bugs to bob@ai.mit.edu
# 28 March 1991
# A `make' or `make dist' command creates a compressed tar file of
# version 2 of the Texinfo package, including both the Texinfo and the
# `makeinfo' files. The file is called `texinfo2.tar.Z' (or some
# similar name, defined with the 'TEXINFO2_DIRECTORY' variable). Make
# presumes that the Texinfo documentation and miscellaneous files are
# in the current directory, the Emacs lisp code is in a `elisp'
# subdirectory and the `makeinfo' files are in a `C' subdirectory.
# Use `tar xvzf texinfo2.tar.Z' to uncompress and extract the contents
# of `texinfo2.tar.Z'.
# The contents of `texinfo2.tar.Z' expand to a megabyte or so.
# Before mailing texinfo.tar.Z, if you should mail it,
# uuencode the file with the following command:
# uuencode texinfo.tar.Z texinfo.tar.Z > texinfo.tar.Z.uu
#### ==> Specify the following as appropriate: texinfo-2.01, or whatever
TEXINFO2_DIRECTORY = texinfo2
TEXINFO_DOCUMENTATION = texinfo2.texi
TEXINFO_SUPPORT = README Makefile New-features
TEXINFO_C_SUPPORT = C/texindex.c
TEXINFO_ELISP_SOURCES = elisp/texinfo.el \
elisp/texnfo-upd.el \
elisp/texinfmt.el \
elisp/texnfo-tex.el \
elisp/makeinfo.el
#### include `texi2roff' when it becomes available ####
OTHER_TEXINFO_SOURCES = texi2dvi texinfo.tex
INFO_ELISP_SOURCES = elisp/info.el elisp/informat.el
MAKEINFO_SOURCES = C/makeinfo.c C/info.c \
C/getopt.c C/getopt1.c
MAKEINFO_HEADERS = C/getopt.h
MAKEINFO_SUPPORT = C/Makefile.in C/configure
# This Makefile creates subdirectories and links the sources into it.
# When the contents of the tar file are extracted, the files extract
# into the a subdirectory called `texinfo2' containing the
# documentation and miscellaneous files, and subsubdirectories, called
# `elisp' and `C', containing the software.
dist: $(TEXINFO_DOCUMENTATION) $(TEXINFO_ELISP_SOURCES) \
$(OTHER_TEXINFO_SOURCES) \
$(TEXINFO_SUPPORT) $(TEXINFO_C_SUPPORT) \
$(INFO_ELISP_SOURCES) \
$(MAKEINFO_SOURCES) $(MAKEINFO_HEADERS) $(MAKEINFO_SUPPORT)
mkdir $(TEXINFO2_DIRECTORY)
mkdir $(TEXINFO2_DIRECTORY)/elisp
mkdir $(TEXINFO2_DIRECTORY)/C
ln $(TEXINFO_DOCUMENTATION) $(TEXINFO_SUPPORT) \
$(OTHER_TEXINFO_SOURCES) \
$(TEXINFO2_DIRECTORY)
ln $(TEXINFO_ELISP_SOURCES) $(INFO_ELISP_SOURCES) \
$(TEXINFO2_DIRECTORY)/elisp
ln $(MAKEINFO_SOURCES) $(MAKEINFO_HEADERS) \
$(MAKEINFO_SUPPORT) $(TEXINFO_C_SUPPORT) \
$(TEXINFO2_DIRECTORY)/C
tar chofvz $(TEXINFO2_DIRECTORY).tar.Z $(TEXINFO2_DIRECTORY)
-rm -r $(TEXINFO2_DIRECTORY)
######################################################################