Admin/update-keywords
author wenzelm
Thu, 16 Feb 2012 14:14:58 +0100
changeset 46502 3d43d4d4d071
parent 44231 f9799971ca97
child 46951 4e032ac36134
permissions -rwxr-xr-x
more uniform / portable representation of the idea of "copy_dir" (NB: cp -f dereferences symlinks on GNU/Linux, but does not on old-school Unixen including BSD/Mac OS X);

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: Update standard keyword files for Emacs Proof General

ISABELLE_HOME="$(isabelle getenv -b ISABELLE_HOME)"
LOG="$(isabelle getenv -b ISABELLE_OUTPUT)"/log


cd "$ISABELLE_HOME/etc"

isabelle keywords \
  "$LOG/Pure.gz" "$LOG/HOL.gz" "$LOG/HOLCF.gz" "$LOG/HOL-Boogie.gz" \
  "$LOG/HOL-Library.gz" "$LOG/HOL-Nominal.gz" "$LOG/HOL-Statespace.gz" \
  "$LOG/HOL-SPARK.gz"

isabelle keywords -k ZF \
  "$LOG/Pure.gz" "$LOG/FOL.gz" "$LOG/ZF.gz"