    #### Makefile for the Para mode distribution -*- text -*- ####

# Makefile for Para mode 0.27        <<change number below as needed>>

# Robert J. Chassell
# bugs to bob@ai.mit.edu
# 18 Apr 91

# A `make' or `make dist' command creates a compressed tar file of the
# experimental Para mode distribution.  The file is called `para.tar.Z'.

# Note: You also need the Texinfo 2 package to run Para mode---however,
# the `para.tar.Z' distribution includes part of that package, the
# `texinfo.el', and `texnfo-upd.el', files which provide minimal Texinfo
# support.

# To uncompress and extract the contents of `para.tar.Z', use the
# following command:      tar xvzf para.tar.Z

# If you do not have GNU tar, you may need to unpack in two stages:
#    uncompress para.tar.Z
#    tar xvf para.tar

# The contents of the file expand to about 270 kilobytes in a
# subdirectory of the current directory called `para'.  (Without
# the Texinfo files, the contents expand to about 180 kilobytes.)

# Before mailing `para.tar.Z', if you should mail it,
# uuencode the file with the following command:
# uuencode para.tar.Z para.tar.Z > para.tar.Z.uu

PARA_DOCUMENTATION = para.texinfo what-is.texi

PARA_ELISP_SOURCES = para.el

PARA_SUPPORT = README Makefile

TEXINFO_MINIMAL_SUPPORT = ../texinfo2/texinfo.el ../texinfo2/texnfo-upd.el 

# This Makefile creates a subdirectory and links the sources into it.
# When the contents of the tar file are extracted, the files extract
# into the subdirectory called `para' containing the
# documentation and Emacs Lisp files

dist: $(PARA_DOCUMENTATION) $(PARA_ELISP_SOURCES) $(PARA_SUPPORT) \
                $(TEXINFO_MINIMAL_SUPPORT)  
	mkdir para
	ln $(PARA_DOCUMENTATION) $(PARA_ELISP_SOURCES)      \
                $(PARA_SUPPORT) $(TEXINFO_MINIMAL_SUPPORT)  \
		para
	tar chofvz para-0.27.tar.Z para
	-rm -r para

######################################################################
