lib/Tools/mkproject
author wenzelm
Mon, 14 Jul 2008 11:19:39 +0200
changeset 27562 bcb01eb565ee
parent 24206 9572c9374dc6
child 28500 4b79e5d3d0aa
permissions -rwxr-xr-x
removed obsolete history commands; moved back, cannot_undo to isar_syn.ML;

#!/usr/bin/env bash
#
# $Id$
# Author: David Aspinall and Makarius Wenzel
#
# DESCRIPTION: prepare a session directory for PG-Eclipse

PRG="$(basename "$0")"

function usage()
{
  echo
  echo "Usage: $PRG NAME"
  echo
  echo "  Prepare a session directory for PG-Eclipse."
  exit 1
}

if [ "$#" -eq 1 ]; then
  NAME="$1"; shift
else
  usage
fi

"$ISATOOL" mkdir -b -q "$NAME"
(cd document; "$ISATOOL" latex -o sty)