Admin/update-keywords
author wenzelm
Sun, 07 Oct 2007 13:32:14 +0200
changeset 24884 d1e7c1b45c8d
parent 24878 7ed3077528b6
child 24903 57a33f4c2c19
permissions -rwxr-xr-x
emacs vs. jedit;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
21301
8ebeab377939 Update standard keyword files.
wenzelm
parents:
diff changeset
     1
#!/usr/bin/env bash
8ebeab377939 Update standard keyword files.
wenzelm
parents:
diff changeset
     2
#
8ebeab377939 Update standard keyword files.
wenzelm
parents:
diff changeset
     3
# $Id$
8ebeab377939 Update standard keyword files.
wenzelm
parents:
diff changeset
     4
# Author: Makarius
8ebeab377939 Update standard keyword files.
wenzelm
parents:
diff changeset
     5
#
8ebeab377939 Update standard keyword files.
wenzelm
parents:
diff changeset
     6
# DESCRIPTION: Update standard keyword files.
8ebeab377939 Update standard keyword files.
wenzelm
parents:
diff changeset
     7
24884
d1e7c1b45c8d emacs vs. jedit;
wenzelm
parents: 24878
diff changeset
     8
ISABELLE_HOME="$(isatool getenv -b ISABELLE_HOME)"
24878
7ed3077528b6 use isatool keywords -- generate from logs instead of session images;
wenzelm
parents: 23694
diff changeset
     9
LOG="$(isatool getenv -b ISABELLE_OUTPUT)"/log
23694
431782022495 cd ISABELLE_HOME/etc;
wenzelm
parents: 21301
diff changeset
    10
24884
d1e7c1b45c8d emacs vs. jedit;
wenzelm
parents: 24878
diff changeset
    11
d1e7c1b45c8d emacs vs. jedit;
wenzelm
parents: 24878
diff changeset
    12
## Emacs ProofGeneral
d1e7c1b45c8d emacs vs. jedit;
wenzelm
parents: 24878
diff changeset
    13
d1e7c1b45c8d emacs vs. jedit;
wenzelm
parents: 24878
diff changeset
    14
cd "$ISABELLE_HOME/etc"
d1e7c1b45c8d emacs vs. jedit;
wenzelm
parents: 24878
diff changeset
    15
d1e7c1b45c8d emacs vs. jedit;
wenzelm
parents: 24878
diff changeset
    16
isatool keywords -t emacs \
d1e7c1b45c8d emacs vs. jedit;
wenzelm
parents: 24878
diff changeset
    17
  "$LOG/Pure.gz" "$LOG/Pure-ProofGeneral.gz" "$LOG/HOL.gz" "$LOG/HOLCF.gz" "$LOG/IOA.gz"
d1e7c1b45c8d emacs vs. jedit;
wenzelm
parents: 24878
diff changeset
    18
d1e7c1b45c8d emacs vs. jedit;
wenzelm
parents: 24878
diff changeset
    19
isatool keywords -t emacs -k HOL-Nominal \
d1e7c1b45c8d emacs vs. jedit;
wenzelm
parents: 24878
diff changeset
    20
  "$LOG/Pure.gz" "$LOG/Pure-ProofGeneral.gz" "$LOG/HOL.gz" "$LOG/HOL-Nominal.gz"
24878
7ed3077528b6 use isatool keywords -- generate from logs instead of session images;
wenzelm
parents: 23694
diff changeset
    21
24884
d1e7c1b45c8d emacs vs. jedit;
wenzelm
parents: 24878
diff changeset
    22
isatool keywords -t emacs -k ZF \
d1e7c1b45c8d emacs vs. jedit;
wenzelm
parents: 24878
diff changeset
    23
  "$LOG/Pure.gz" "$LOG/Pure-ProofGeneral.gz" "$LOG/FOL.gz" "$LOG/ZF.gz"
d1e7c1b45c8d emacs vs. jedit;
wenzelm
parents: 24878
diff changeset
    24
d1e7c1b45c8d emacs vs. jedit;
wenzelm
parents: 24878
diff changeset
    25
d1e7c1b45c8d emacs vs. jedit;
wenzelm
parents: 24878
diff changeset
    26
## jEdit
d1e7c1b45c8d emacs vs. jedit;
wenzelm
parents: 24878
diff changeset
    27
d1e7c1b45c8d emacs vs. jedit;
wenzelm
parents: 24878
diff changeset
    28
cd "$ISABELLE_HOME/lib/jedit"
d1e7c1b45c8d emacs vs. jedit;
wenzelm
parents: 24878
diff changeset
    29
d1e7c1b45c8d emacs vs. jedit;
wenzelm
parents: 24878
diff changeset
    30
isatool keywords -t jedit \
d1e7c1b45c8d emacs vs. jedit;
wenzelm
parents: 24878
diff changeset
    31
  "$LOG/Pure.gz" "$LOG/HOL.gz" "$LOG/HOLCF.gz" "$LOG/IOA.gz" "$LOG/HOL-Nominal.gz" "$LOG/FOL.gz" "$LOG/ZF.gz"
d1e7c1b45c8d emacs vs. jedit;
wenzelm
parents: 24878
diff changeset
    32