#!/bin/sh -e

# S-Lang script for setup, preparsing, and documentation generation
PREPARSE=/usr/share/jed/compile/jed-extra-preparse.sl

case "$1" in
  install|remove)
	[ "$1" = install ] && jed-script $PREPARSE || true
	# don't worry if jed-script is missing, because jed runs this
	# script again at installation
	;;
  *)
	echo "unknown argument --> \"$1"\" >&2
	exit 1
	;;
esac
