Commit e679a59c authored by Bruce Ravel's avatar Bruce Ravel

import everything

parent b51d4a9d
This diff is collapsed.
To install gnuplot-mode:
1. At the command line:
> configure
> make
If you use XEmacs, do "make EMACS=xemacs" (or change the EMACS
variable to "xemacs" in the Makefile, the run "make").
If "configure" doesn't work for you, the file "Makefile.dst" can be
used. In that case do, "make -f Makefile.dst".
2. Move the .elc files to a place where emacs can find them, for
example /usr/share/emacs/site-lisp or your personal emacs
directory.
3. Insert the contents of the `dotemacs' file into your .emacs file
or system start-up file to enable gnuplot mode.
4. The function `gnuplot-info-lookup-symbol' looks at the Gnuplot
info file that comes with this package or that can be made from
the Gnuplot distribution. For that function to work, the file
gnuplot.info must be placed somewhere where info can find it, for
example /usr/info. A line like this in your .emacs allows you to
put gnuplot.info any place convenient:
(add-to-list 'Info-default-directory-list "/path/to/file")
The "configure; make" sequence may not work on all systems,
particularly Win32 systems. The long-winded way of making the .elc
gpelcard.ps files is to edit each of the .el files with emacs and do
`M-x byte-compile-file'. Then "latex gpelcard.tex" and
"dvips gpelcard.dvi".
You will need to follow the instructions contained in the file
Win9x/INSTALL.Win9x to get gnuplot working with Emacs on a Windows 95
or 98 machine.
Problems? Contact gnuplot-mode's author Bruce Ravel
<ravel@phys.washington.edu>
## set this variable to "xemacs" if you use XEmacs
EMACS = emacs
## You will probably not need to change anything below this line
BYTE = $(EMACS) -batch -q -no-site-file -l dot.el -f batch-byte-compile
.PHONY: all default clean
default:
$(MAKE) info-look.elc gnuplot.elc gnuplot-gui.elc
gnuplot.elc: gnuplot.el
$(BYTE) gnuplot.el
gnuplot-gui.elc: gnuplot-gui.el
$(BYTE) gnuplot-gui.el
## There are many possibilities for info-look:
##
## EMACS version use
## -----------------------------------------
## Emacs or XEmacs 19 info-look.20.2.el
## Emacs 20.2 or less info-look.20.2.el
## Emacs 20.3 nothing
## XEmacs 20+ info-look.20.3.el
##
## want to use my modified version even if 20.2 is installed because a
## bug is fixed
##
## the first 6 lines attempt to ascertain the version number of
## $(EMACS), then multiply by 100 to convert it to an integer for the
## sake of the integer comparisons in the following lines. Is this a
## hassle, or what?!
##
MESSAGE = compiling info-look for $(EMACS) $$vnum
info-look.elc: info-look.20.2.el info-look.20.3.el
@if [ $(EMACS) = "emacs" ]; \
then vnum=`emacs --version | grep 'Emacs [12]' | awk '{print $$3}'`; \
else vnum=`xemacs --version | grep 'Emacs [12]' | awk '{print $$2}'`; \
fi; \
vn=`echo "$$vnum" | awk 'BEGIN{FS="."}{print $$1 "." $$2}'`; \
version=`echo "$$vn" | awk '{print 100*$$1}'`; \
if [ $(EMACS) = "emacs" -a $$version -ge 2030 ]; \
then echo "no need to compile info-look for $(EMACS) $$vnum"; \
else echo "$(MESSAGE)"; \
fi; \
if [ $(EMACS) = "emacs" -a $$version -lt 2030 ]; \
then cp -v info-look.20.2.el info-look.el; \
elif [ $(EMACS) = "xemacs" -a $$version -ge 2000 ]; \
then cp -v info-look.20.3.el info-look.el; \
elif [ $(EMACS) = "xemacs" -a $$version -lt 2000 ]; \
then cp -v info-look.20.2.el info-look.el; \
fi ;\
if [ ! \( $(EMACS) = "emacs" -a $$version -ge 2030 \) ]; \
then $(BYTE) info-look.el; fi;
gpelcard.ps: gpelcard.dvi
dvips -o gpelcard.ps gpelcard.dvi
gpelcard.dvi: gpelcard.tex
latex gpelcard.tex
all:
$(MAKE) gnuplot.elc info-look.elc gnuplot-gui.elc gpelcard.ps
clean:
rm -f *.elc info-look.el gpelcard.dvi gpelcard.log gpelcard.aux
##----------------------------------------------------------------------
## old stuff:
## from the `all' and `default' targets:
# gnuplot-toolbar.elc kw-compl.elc
#kw-compl.elc: kw-compl.el
# $(BYTE) kw-compl.el
## only make this for XEmacs
#gnuplot-toolbar.elc: gnuplot-toolbar.el
# if [ $(EMACS) = "xemacs" ]; then $(BYTE) gnuplot-toolbar.el; fi
#
# Makefile.in for gnuplot-mode
#
# Based on original Makefile
# by Lars Hecking <lhecking@nmrc.ucc.ie> 1999-02-25
#
# Modified to install .el files along with .elc files
# BR May 17 2002
SHELL = /bin/sh
prefix = @prefix@
datadir = @datadir@
lispdir = @lispdir@
srcdir = @srcdir@
subdir = lisp
top_builddir = .
top_srcdir = @top_srcdir@
@SET_MAKE@
EMACS = @EMACS@
MAKEINFO = @MAKEINFO@
LATEX = latex
DVIPS = dvips
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
VPATH = @srcdir@
# Command to byte-compile
BYTEC = $(EMACS) -batch -q -no-site-file -l $(srcdir)/dot.el -f batch-byte-compile
ELCS = info-look.elc gnuplot.elc gnuplot-gui.elc
DIST_COMMON = ChangeLog Makefile.dst Makefile.in README aclocal.m4 configure \
configure.in
EXTRA_DIST = dot.el dotemacs gnuplot-gui.el gnuplot.el gnuplot.el.old \
gpelcard.tex info-look.20.2.el info-look.20.3.el
DISTFILES = $(DIST_COMMON) $(EXTRA_DIST)
default: $(ELCS)
gnuplot.elc: gnuplot.el
test "$(srcdir)" = "$(top_builddir)" || cp $(srcdir)/gnuplot.el .
$(BYTEC) gnuplot.el
gnuplot-gui.elc: gnuplot.elc gnuplot-gui.el
test "$(srcdir)" = "$(top_builddir)" || cp $(srcdir)/gnuplot-gui.el .
$(BYTEC) gnuplot-gui.el
## There are many possibilities for info-look:
##
## EMACS version use
## -----------------------------------------
## Emacs or XEmacs 19 info-look.20.2.el
## Emacs 20.2 or less info-look.20.2.el
## Emacs 20.3 nothing
## XEmacs 20+ info-look.20.3.el
##
## want to use my modified version even if 20.2 is installed because a
## bug is fixed
##
## the first 6 lines attempt to ascertain the version number of
## $(EMACS), then multiply by 100 to convert it to an integer for the
## sake of the integer comparisons in the following lines. Is this a
## hassle, or what?!
##
MESSAGE = compiling info-look for $(EMACS) $$vnum
info-look.elc: info-look.20.2.el info-look.20.3.el
@if [ $(EMACS) = "emacs" ]; \
then vnum=`emacs --version | grep 'Emacs [12]' | awk '{print $$3}'`; \
else vnum=`xemacs --version | grep 'Emacs [12]' | awk '{print $$2}'`; \
fi; \
vn=`echo "$$vnum" | awk 'BEGIN{FS="."}{print $$1 "." $$2}'`; \
version=`echo "$$vn" | awk '{print 100*$$1}'`; \
if [ $(EMACS) = "emacs" -a $$version -ge 2030 ]; \
then echo "no need to compile info-look for $(EMACS) $$vnum"; \
else echo "$(MESSAGE)"; \
fi; \
if [ $(EMACS) = "emacs" -a $$version -lt 2030 ]; \
then echo Using info-look.20.2.el; \
cp $(srcdir)/info-look.20.2.el info-look.el; \
elif [ $(EMACS) = "xemacs" -a $$version -ge 2000 ]; \
then echo Using info-look.20.3.el; \
cp $(srcdir)/info-look.20.3.el info-look.el; \
elif [ $(EMACS) = "xemacs" -a $$version -lt 2000 ]; \
then echo Using info-look.20.2.el; \
cp $(srcdir)/info-look.20.2.el info-look.el; \
fi ;\
if [ ! \( $(EMACS) = "emacs" -a $$version -ge 2030 \) ]; \
then $(BYTEC) info-look.el; fi;
ps: gpelcard.ps
gpelcard.ps: gpelcard.dvi
$(DVIPS) -o gpelcard.ps gpelcard.dvi
gpelcard.dvi: gpelcard.tex
$(LATEX) $(srcdir)/gpelcard.tex
all: gnuplot.elc info-look.elc gnuplot-gui.elc
install:
mkinstalldirs $(lispdir)
@for p in *.el *.elc; do \
echo " $(INSTALL_DATA) $$p $(lispdir)/$$p"; \
$(INSTALL_DATA) $$p $(lispdir)/$$p; \
done
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
subdir = lisp
distdir: $(DISTFILES)
distdir=`cd $(distdir) && pwd`
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file || :; \
fi; \
done
check-am: all-am
check: check-am
installcheck-am:
installcheck: installcheck-am
install-exec-am:
install-exec: install-exec-am
.PHONY: tags distdir info-am info dvi-am dvi check check-am \
installcheck-am installcheck install-exec-am install-exec \
install-data-am install-data install-am install uninstall-am uninstall \
all-redirect all-am all installdirs mostlyclean-generic \
distclean-generic clean-generic maintainer-clean-generic clean \
mostlyclean distclean maintainer-clean
clean:
-rm -f *.elc info-look.el gpelcard.ps gpelcard.dvi gpelcard.log \
gpelcard.aux
test "$(srcdir)" = "$(top_builddir)" || rm -f gnuplot.el gnuplot-gui.el
distclean: clean
rm -f Makefile config.status config.log config.cache
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
This directory contains files for running Gnuplot from within emacs.
This package was assembled by Bruce Ravel <ravel@phys.washington.edu>.
See http://feff.phys.washington.edu/~ravel/gnuplot/ for the latest.
Contents
========
README this file
INSTALL thorough installation instructions
ChangeLog a log of changes by version number
gnuplot.el gnuplot mode for emacs
gnuplot-gui.el a GUI for setting command arguments interactively
info-look.20.2.el programmer's interface to info files, old version
info-look.20.3.el programmer's interface to info files, new version
dot.el a short lisp file used by the Makefile
gnuplot.info info version of gnuplot 3.6 help
gpelcard.tex quick reference card for gnuplot mode (latex)
gpelcard.ps
dotemacs example .emacs lines for enabling gnuplot mode
Makefile.in \
Makefile.dst \
aclocal.m4 \ files inherited from the gnuplot distribution
configure } for making gnuplot-mode
configure.in /
install-sh /
mkinstalldirs /
Win9x/INSTALL.Win9x Extra installation instructions for Windows 95/98
Win9x/pgnuplot.c Program required to run gnuplot from Emacs
Soon gnuplot-mode will be included with the gnuplot 3.7 distribution.
The installation instructions for the free-standing distribution have
been modified to be consistent with that.
Installation
============
1. Unpack the gnuplot.tar.gz and cd to the gnuplot directory.
2. Type "configure". If configure doesn't work for you, see note 7
below.
3. Run "make". If you use XEmacs, run "make EMACS=xemacs" (or change
the EMACS variable to "xemacs" in the Makefile, the run "make").
4. Move the lisp files to the system site_lisp directory if you are
installing as root. If you are installing as a normal user move
the .elc files to a place where emacs, i.e. your personal emacs
directory.
5. Insert the contents of the `dotemacs' file into your .emacs file
or into the system's emacs start-up file to enable gnuplot mode.
6. The function `gnuplot-info-lookup-symbol' looks at the Gnuplot
info file that comes with this package or that can be made from
the Gnuplot distribution. For that function to work, the file
gnuplot.info must be placed somewhere where info can find it, for
example /usr/info. A line like this in your .emacs allows you to
put gnuplot.info any place convenient:
(add-to-list 'Info-default-directory-list "/path/to/file")
Wouldn't it be //great// if Emacs had some kind of systematized package
installing facility? I think so, too! Oh well....
NOTES
=====
1. gnuplot-mode is designed for use with version 3.7 of gnuplot. It
should work very well with any of the 3.6 beta versions. Only some
of the specialized features will not work with version 3.5 -- the
GUI interface to setting command arguments is an example.
2. To use gnuplot-mode with Emacs on Windows 95 or 98 see the
instructions in the directory Win9x.
3. The installation materials used by gnuplot-mode come from the
gnuplot distribution.
4. If "configure" doesn't work for you, the file "Makefile.dst" can be
used. In that case do, "make -f Makefile.dst" and carry on from
there.
5. If you do not have the custom library installed, you will get
several harmless warnings when compiling gnuplot.el. Most of
gnuplot-mode will work even without the custom library installed.
6. The file info-look.el provides the on-line help functionality.
Without it, things like on-line help and keyword completion will
not work. Using a tool that is a standard part of Emacs is a good
idea, but this one gets complicated. This file became part of
Emacs with version 20. It changed between 20.2 and 20.3. And it
does not come with XEmacs. What's more, the version from 20.2 has
a bug and the newer version does not work with Emacs 19. So, this
distribution comes with two versions of info-look.el, the version
from Emacs 20.2 patched to work correctly and the version from
Emacs 20.3. Here's what happens when you run make:
a. If you use Emacs 19 or XEmacs 19, then the Makefile will
compile the 20.2 version.
b. If you use Emacs 20.2 or lower, the Makefile will compile the
20.2 version.
c. If you use XEmacs 20 or higher, the Makefile will compile the
20.3 version.
d. If you use Emacs 20.3 or higher, the Makefile won't compile any
version.
7. The gnuplot-mode distribution comes with the version of the gnuplot
info file that gets made by gnuplot 3.7. Use it rather than the
old one. If you really must use the older info file, see the
document string for the variable `gnuplot-info-hook'. If you
already have the info file installed on your computer, you will not
need the one that comes with gnuplot-mode.
8. The interactive graphical graphical interface to setting command
arguments contained in gnuplot-gui.el is experimental. It is
incomplete and may make mistakes. Hopefully, you will find it
useful. It *requires* that you are using a version of emacs with
the widget library installed or that you have installed it
yourself. Version numbers in the 20's of Emacs and XEmacs ship
with the widget library. For version numbers in the 19's, it can
be obtained at http://www.dina.kvl.dk/~abraham/custom/
dnl aclocal.m4 generated automatically by aclocal 1.4
dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
dnl PARTICULAR PURPOSE.
# serial 1
AC_DEFUN(AM_PATH_LISPDIR,
[# If set to t, that means we are running in a shell under Emacs.
# If you have an Emacs named "t", then use the full path.
test "$EMACS" = t && EMACS=
AC_PATH_PROGS(EMACS, emacs xemacs, no)
if test $EMACS != "no"; then
AC_MSG_CHECKING([where .elc files should go])
dnl Set default value
lispdir="\$(datadir)/emacs/site-lisp"
emacs_flavor=`echo "$EMACS" | sed -e 's,^.*/,,'`
if test "x$prefix" = "xNONE"; then
if test -d $ac_default_prefix/share/$emacs_flavor/site-lisp; then
lispdir="\$(prefix)/share/$emacs_flavor/site-lisp"
else
if test -d $ac_default_prefix/lib/$emacs_flavor/site-lisp; then
lispdir="\$(prefix)/lib/$emacs_flavor/site-lisp"
fi
fi
else
if test -d $prefix/share/$emacs_flavor/site-lisp; then
lispdir="\$(prefix)/share/$emacs_flavor/site-lisp"
else
if test -d $prefix/lib/$emacs_flavor/site-lisp; then
lispdir="\$(prefix)/lib/$emacs_flavor/site-lisp"
fi
fi
fi
AC_MSG_RESULT($lispdir)
fi
AC_SUBST(lispdir)])
This diff is collapsed.
AC_INIT(dot.el)
AC_SET_MAKE
AC_PROG_INSTALL
AM_PATH_LISPDIR
EMACS=`basename $EMACS`
AC_PATH_PROG(MAKEINFO, makeinfo, no)
AC_OUTPUT(Makefile)
;; These are some lines to help compilation of gnuplot-mode proceed
;; with fewer warning messages
(setq load-path (append (list ".") load-path)
byte-compile-verbose nil
byte-compile-warnings nil)
(require 'font-lock)
(defun hilit-repaint-command (foo))
;;--------------------------------------------------------------------
;; Lines enabling gnuplot-mode
;; move the files gnuplot.el to someplace in your lisp load-path or
;; use a line like
;; (setq load-path (append (list "/path/to/gnuplot") load-path))
;; these lines enable the use of gnuplot mode
(autoload 'gnuplot-mode "gnuplot" "gnuplot major mode" t)
(autoload 'gnuplot-make-buffer "gnuplot" "open a buffer in gnuplot mode" t)
;; this line automatically causes all files with the .gp extension to
;; be loaded into gnuplot mode
(setq auto-mode-alist (append '(("\\.gp$" . gnuplot-mode)) auto-mode-alist))
;; This line binds the function-9 key so that it opens a buffer into
;; gnuplot mode
(global-set-key [(f9)] 'gnuplot-make-buffer)
;; end of line for gnuplot-mode
;;--------------------------------------------------------------------
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
# the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation, and that the name of M.I.T. not be used in advertising or
# publicity pertaining to distribution of the software without specific,
# written prior permission. M.I.T. makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
# from scratch. It can only install one file at a time, a restriction
# shared with many OS's install programs.
# set DOITPROG to echo to test this script
# Don't use :- since 4.3BSD and earlier shells don't like it.
doit="${DOITPROG-}"
# put in absolute paths if you don't have them in your path; or use env. vars.
mvprog="${MVPROG-mv}"
cpprog="${CPPROG-cp}"
chmodprog="${CHMODPROG-chmod}"
chownprog="${CHOWNPROG-chown}"
chgrpprog="${CHGRPPROG-chgrp}"
stripprog="${STRIPPROG-strip}"
rmprog="${RMPROG-rm}"
mkdirprog="${MKDIRPROG-mkdir}"
transformbasename=""
transform_arg=""
instcmd="$mvprog"
chmodcmd="$chmodprog 0755"
chowncmd=""
chgrpcmd=""
stripcmd=""
rmcmd="$rmprog -f"
mvcmd="$mvprog"
src=""
dst=""
dir_arg=""
while [ x"$1" != x ]; do
case $1 in
-c) instcmd="$cpprog"
shift
continue;;
-d) dir_arg=true
shift
continue;;
-m) chmodcmd="$chmodprog $2"
shift
shift
continue;;
-o) chowncmd="$chownprog $2"
shift
shift
continue;;
-g) chgrpcmd="$chgrpprog $2"
shift
shift
continue;;
-s) stripcmd="$stripprog"
shift
continue;;
-t=*) transformarg=`echo $1 | sed 's/-t=//'`
shift
continue;;
-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
shift
continue;;
*) if [ x"$src" = x ]
then
src=$1
else
# this colon is to work around a 386BSD /bin/sh bug
:
dst=$1
fi
shift
continue;;
esac
done
if [ x"$src" = x ]
then
echo "install: no input file specified"
exit 1
else
true
fi
if [ x"$dir_arg" != x ]; then
dst=$src
src=""
if [ -d $dst ]; then
instcmd=:
chmodcmd=""
else
instcmd=mkdir
fi
else
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
if [ -f $src -o -d $src ]
then
true
else
echo "install: $src does not exist"
exit 1
fi
if [ x"$dst" = x ]
then
echo "install: no destination specified"
exit 1
else
true
fi
# If destination is a directory, append the input filename; if your system
# does not like double slashes in filenames, you may need to add some logic
if [ -d $dst ]
then
dst="$dst"/`basename $src`
else
true
fi
fi
## this sed command emulates the dirname command
dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
# Make sure that the destination directory exists.
# this part is taken from Noah Friedman's mkinstalldirs script
# Skip lots of stat calls in the usual case.
if [ ! -d "$dstdir" ]; then
defaultIFS='
'
IFS="${IFS-${defaultIFS}}"
oIFS="${IFS}"
# Some sh's can't handle IFS=/ for some reason.
IFS='%'
set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
IFS="${oIFS}"
pathcomp=''
while [ $# -ne 0 ] ; do
pathcomp="${pathcomp}${1}"
shift
if [ ! -d "${pathcomp}" ] ;
then
$mkdirprog "${pathcomp}"
else
true
fi
pathcomp="${pathcomp}/"
done
fi
if [ x"$dir_arg" != x ]
then
$doit $instcmd $dst &&
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
else
# If we're going to rename the final executable, determine the name now.
if [ x"$transformarg" = x ]
then
dstfile=`basename $dst`
else
dstfile=`basename $dst $transformbasename |
sed $transformarg`$transformbasename
fi
# don't allow the sed command to completely eliminate the filename
if [ x"$dstfile" = x ]
then
dstfile=`basename $dst`
else
true
fi
# Make a temp file name in the proper directory.
dsttmp=$dstdir/#inst.$$#
# Move or copy the file name to the temp name
$doit $instcmd $src $dsttmp &&
trap "rm -f ${dsttmp}" 0 &&
# and set any options; do chmod last to preserve setuid bits
# If any of these fail, we abort the whole thing. If we want to
# ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $instcmd $src $dsttmp" command.
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
# Now rename the file to the real destination.
$doit $rmcmd -f $dstdir/$dstfile &&
$doit $mvcmd $dsttmp $dstdir/$dstfile
fi &&
exit 0
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
# $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $
errstatus=0
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`