| 
1826
 | 
     1  | 
###############################################
  | 
| 
 | 
     2  | 
# Title:      Tools/8bit/Makefile
  | 
| 
 | 
     3  | 
# ID:         $Id$
  | 
| 
 | 
     4  | 
# Author:     Franz Regensburger
  | 
| 
 | 
     5  | 
# Copyright   1996 TU Muenchen
  | 
| 
 | 
     6  | 
#
  | 
| 
 | 
     7  | 
# Master Makefile for Isabelle 8bit package
  | 
| 
 | 
     8  | 
# ATTENTION: this is a GNU-MAKE Makefile
  | 
| 
 | 
     9  | 
#
  | 
| 
 | 
    10  | 
# Franz Regensburger <regensbu@informatik.tu-muenchen.de>, 8.3.95
  | 
| 
 | 
    11  | 
# last changed:
  | 
| 
 | 
    12  | 
#	21.3.95	
  | 
| 
 | 
    13  | 
#	02.09.95 added latex2e support	
  | 
| 
 | 
    14  | 
#       07.02.96 added BASH variable and changed reference to amssym 
  | 
| 
 | 
    15  | 
#                in amssymb for latex2.09
  | 
| 
 | 
    16  | 
#       23.05.96 modifications by David von Oheimb
  | 
| 
 | 
    17  | 
#
  | 
| 
 | 
    18  | 
###############################################
  | 
| 
 | 
    19  | 
  | 
| 
 | 
    20  | 
# operate silently
  | 
| 
 | 
    21  | 
MAKEFLAGS='s'
  | 
| 
 | 
    22  | 
  | 
| 
 | 
    23  | 
###############################################
  | 
| 
 | 
    24  | 
# general configuration
  | 
| 
 | 
    25  | 
###############################################
  | 
| 
 | 
    26  | 
  | 
| 
 | 
    27  | 
# path and name of bash shell
  | 
| 
 | 
    28  | 
# should be /bin/bash on every reasonable system 
  | 
| 
 | 
    29  | 
#
  | 
| 
 | 
    30  | 
#BASH=/bin/bash
  | 
| 
 | 
    31  | 
BASH=/bin/bash
  | 
| 
 | 
    32  | 
  | 
| 
 | 
    33  | 
# Perl path and name for interpreter
  | 
| 
 | 
    34  | 
# should be a perl 4.x
  | 
| 
 | 
    35  | 
#PERL=/usr/bin/perl
  | 
| 
2795
 | 
    36  | 
PERL=/usr/local/dist/bin/perl
  | 
| 
1826
 | 
    37  | 
  | 
| 
 | 
    38  | 
# use LaTeX2e instead of LaTeX 2.09
  | 
| 
 | 
    39  | 
# this flag is currently only sensible for perl script gen-isadoc
  | 
| 
 | 
    40  | 
# set to empty string for LaTeX 2.09
  | 
| 
 | 
    41  | 
USE2E='-2e'
  | 
| 
 | 
    42  | 
  | 
| 
 | 
    43  | 
# name of GNU make utility: `make' on linux box; `gmake' on solaris
  | 
| 
 | 
    44  | 
#GMAKE=make
  | 
| 
 | 
    45  | 
GMAKE=gmake
  | 
| 
 | 
    46  | 
  | 
| 
5672
 | 
    47  | 
#keycode for Super_L  (= left Meta)
  | 
| 
 | 
    48  | 
SUPER_L=127
  | 
| 
1826
 | 
    49  | 
  | 
| 
5672
 | 
    50  | 
#keycode for Hyper_R (= right Meta)
  | 
| 
 | 
    51  | 
HYPER_R=129
  | 
| 
1826
 | 
    52  | 
  | 
| 
1907
 | 
    53  | 
CONFIGFILES = config/Makefile config/key-table.inp config/conv-tables.inp
  | 
| 
1826
 | 
    54  | 
  | 
| 
1856
 | 
    55  | 
#path stem to isabelle source, used by patcher
  | 
| 
2392
 | 
    56  | 
STEM = /usr/wiss/oheimb/isabelle/
  | 
| 
1856
 | 
    57  | 
  | 
| 
1826
 | 
    58  | 
###############################################
  | 
| 
 | 
    59  | 
# configuration for configuration files in ./config
  | 
| 
 | 
    60  | 
###############################################
  | 
| 
 | 
    61  | 
  | 
| 
4175
 | 
    62  | 
CONV_SOURCE_DIR=$(ISABELLE8BIT)/c-sources/isa2latex
  | 
| 
1826
 | 
    63  | 
  | 
| 
 | 
    64  | 
###############################################
  | 
| 
 | 
    65  | 
# configuration for GNU emacs
  | 
| 
 | 
    66  | 
###############################################
  | 
| 
 | 
    67  | 
  | 
| 
 | 
    68  | 
# Name of your GNU emacs executable 
  | 
| 
 | 
    69  | 
GNU_ENAME=emacs
  | 
| 
 | 
    70  | 
  | 
| 
 | 
    71  | 
#users init file ($HOME is added). This file is loaded after
  | 
| 
 | 
    72  | 
#the init file isa_gnu_emacs.emacs 
  | 
| 
 | 
    73  | 
GNU_INIT=.emacs_gnu_isa
  | 
| 
 | 
    74  | 
  | 
| 
 | 
    75  | 
###############################################
  | 
| 
 | 
    76  | 
# configuration for xemacs
  | 
| 
 | 
    77  | 
###############################################
  | 
| 
 | 
    78  | 
  | 
| 
 | 
    79  | 
# Name of your xemacs executable 
  | 
| 
 | 
    80  | 
  | 
| 
 | 
    81  | 
XEMACS_ENAME=xemacs
  | 
| 
 | 
    82  | 
  | 
| 
 | 
    83  | 
#users init file ($HOME is added). This file is loaded after
  | 
| 
 | 
    84  | 
#the init file isa_xemacs.emacs 
  | 
| 
 | 
    85  | 
  | 
| 
 | 
    86  | 
XEMACS_INIT=.emacs_xemacs_isa
  | 
| 
 | 
    87  | 
  | 
| 
 | 
    88  | 
###############################################
  | 
| 
 | 
    89  | 
# END of Configuration Section 
  | 
| 
 | 
    90  | 
###############################################
  | 
| 
 | 
    91  | 
  | 
| 
 | 
    92  | 
  | 
| 
 | 
    93  | 
###############################################
  | 
| 
 | 
    94  | 
# user targets        
  | 
| 
 | 
    95  | 
###############################################
  | 
| 
 | 
    96  | 
 
  | 
| 
 | 
    97  | 
# ----------------------------------------------------
  | 
| 
 | 
    98  | 
  | 
| 
 | 
    99  | 
# first target. Used if no target is given by the user
  | 
| 
 | 
   100  | 
#usage:
  | 
| 
 | 
   101  | 
#	echo "type 'make install' to install everything"
  | 
| 
 | 
   102  | 
#	echo "type 'make clean' to cleanup"
  | 
| 
 | 
   103  | 
  | 
| 
 | 
   104  | 
# ----------------------------------------------------
  | 
| 
 | 
   105  | 
  | 
| 
1907
 | 
   106  | 
all:  $(CONFIGFILES)\
  | 
| 
1826
 | 
   107  | 
	bin/gen-isa2latex bin/gen-isaterm bin/gen-isavim bin/gen-isaaxe\
  | 
| 
 | 
   108  | 
	bin/gen-isa_gnu_emacs bin/gen-isa_xemacs bin/gen-isadoc\
  | 
| 
4175
 | 
   109  | 
	configuration manual a2isa bin/isa2latex bin/a2isa bin/ax2isa\
  | 
| 
1826
 | 
   110  | 
	bin/isa_gnu_emacs bin/isa_xemacs bin/isavim bin/isaaxe\
  | 
| 
 | 
   111  | 
	bin/isaterm bin/isa_xmosaic bin/isapal bin/codetable bin/patcher\
  | 
| 
 | 
   112  | 
	fonts/install keyboard/install\
  | 
| 
1856
 | 
   113  | 
	isa-patches/HOL/add-HOL.cfg isa-patches/HOL/clean-HOL.cfg\
  | 
| 
 | 
   114  | 
	isa-patches/HOL/extract-HOL.cfg\
  | 
| 
 | 
   115  | 
	isa-patches/HOLCF/add-HOLCF.cfg isa-patches/HOLCF/clean-HOLCF.cfg\
  | 
| 
4175
 | 
   116  | 
	isa-patches/HOLCF/extract-HOLCF.cfg
  | 
| 
1826
 | 
   117  | 
  | 
| 
 | 
   118  | 
# ----------------------------------------------------
  | 
| 
 | 
   119  | 
  | 
| 
 | 
   120  | 
clean:
  | 
| 
4175
 | 
   121  | 
#	cd bin; rm -f *2isa codetable gen-* isa* patcher
  | 
| 
1826
 | 
   122  | 
	cd c-sources/a2isa; $(GMAKE) clean
  | 
| 
 | 
   123  | 
	cd c-sources/isa2latex; $(GMAKE) clean
  | 
| 
1856
 | 
   124  | 
	cd doc; $(GMAKE) clean
  | 
| 
1826
 | 
   125  | 
  | 
| 
 | 
   126  | 
###############################################
  | 
| 
 | 
   127  | 
# internal targets        
  | 
| 
 | 
   128  | 
###############################################
  | 
| 
 | 
   129  | 
  | 
| 
 | 
   130  | 
####### configuration files and the Makefile
  | 
| 
 | 
   131  | 
  | 
| 
1907
 | 
   132  | 
$(CONFIGFILES): Makefile
  | 
| 
1826
 | 
   133  | 
	@echo "configuring the configuration files"
  | 
| 
 | 
   134  | 
	@cd config;\
  | 
| 
 | 
   135  | 
	$(PERL) -pi \
  | 
| 
 | 
   136  | 
		-e "s#^USE2E\s*=.*#USE2E= $(USE2E)#g;" \
  | 
| 
1907
 | 
   137  | 
		-e "s#^GMAKE\s*=.*#GMAKE= $(GMAKE)#g;" \
  | 
| 
1826
 | 
   138  | 
		Makefile
  | 
| 
 | 
   139  | 
	@cd config;\
  | 
| 
 | 
   140  | 
	$(PERL) -pi \
  | 
| 
 | 
   141  | 
		-e "s#^BIN_DIR\s*\".*#BIN_DIR \"$(CONV_BIN_DIR)\"#g;" \
  | 
| 
 | 
   142  | 
		key-table.inp
  | 
| 
 | 
   143  | 
	@cd config;\
  | 
| 
 | 
   144  | 
	$(PERL) -pi \
  | 
| 
4175
 | 
   145  | 
		-e "s#^CONV_SOURCE_DIR\s*\".*#CONV_SOURCE_DIR \"$(CONV_SOURCE_DIR)\"#g;" \
  | 
| 
 | 
   146  | 
		conv-tables.inp
  | 
| 
 | 
   147  | 
	@echo $(CONV_SOURCE_DIR)
  | 
| 
1826
 | 
   148  | 
  | 
| 
 | 
   149  | 
#######      Generators        
  | 
| 
 | 
   150  | 
  | 
| 
 | 
   151  | 
# ----------------------------------------------------
  | 
| 
5672
 | 
   152  | 
  | 
| 
1826
 | 
   153  | 
bin/gen-isa2latex: Makefile #perl/generators/gen-isa2latex.pl
  | 
| 
 | 
   154  | 
	@echo "configuring gen-isa2latex"
  | 
| 
 | 
   155  | 
	@cd perl/generators;\
  | 
| 
 | 
   156  | 
	$(PERL) -pi \
  | 
| 
1907
 | 
   157  | 
		-e "s#GMAKE\s*=.*#GMAKE= \"$(GMAKE)\";#g;" \
  | 
| 
1826
 | 
   158  | 
		-e "s&^#!.*&#!$(PERL)&g;" \
  | 
| 
 | 
   159  | 
		gen-isa2latex.pl
  | 
| 
 | 
   160  | 
	@rm -f bin/gen-isa2latex;\
  | 
| 
 | 
   161  | 
	ln -s ../perl/generators/gen-isa2latex.pl bin/gen-isa2latex
  | 
| 
 | 
   162  | 
  | 
| 
 | 
   163  | 
# ----------------------------------------------------
  | 
| 
5672
 | 
   164  | 
  | 
| 
1826
 | 
   165  | 
bin/gen-isaterm: Makefile #perl/generators/gen-isaterm.pl
  | 
| 
 | 
   166  | 
	@echo "configuring gen-isaterm"
  | 
| 
 | 
   167  | 
	@cd perl/generators;\
  | 
| 
 | 
   168  | 
	$(PERL) -pi \
  | 
| 
 | 
   169  | 
		-e "s&^#!.*&#!$(PERL)&g;" \
  | 
| 
 | 
   170  | 
		gen-isaterm.pl
  | 
| 
 | 
   171  | 
	@rm -f bin/gen-isaterm;\
  | 
| 
 | 
   172  | 
	ln -s ../perl/generators/gen-isaterm.pl bin/gen-isaterm
  | 
| 
 | 
   173  | 
  | 
| 
 | 
   174  | 
# ----------------------------------------------------
  | 
| 
5672
 | 
   175  | 
  | 
| 
1826
 | 
   176  | 
bin/gen-isavim: Makefile #perl/generators/gen-isavim.pl
  | 
| 
 | 
   177  | 
	@echo "configuring gen-isavim"
  | 
| 
 | 
   178  | 
	@cd perl/generators;\
  | 
| 
 | 
   179  | 
	$(PERL) -pi \
  | 
| 
 | 
   180  | 
		-e "s&^#!.*&#!$(PERL)&g;" \
  | 
| 
 | 
   181  | 
		gen-isavim.pl
  | 
| 
 | 
   182  | 
	@rm -f bin/gen-isavim;\
  | 
| 
 | 
   183  | 
	ln -s ../perl/generators/gen-isavim.pl bin/gen-isavim
  | 
| 
 | 
   184  | 
  | 
| 
 | 
   185  | 
# ----------------------------------------------------
  | 
| 
5672
 | 
   186  | 
  | 
| 
1826
 | 
   187  | 
bin/gen-isaaxe: Makefile #perl/generators/gen-isaaxe.pl
  | 
| 
 | 
   188  | 
	@echo "configuring gen-isaaxe"
  | 
| 
 | 
   189  | 
	@cd perl/generators;\
  | 
| 
 | 
   190  | 
	$(PERL) -pi \
  | 
| 
 | 
   191  | 
		-e "s&^#!.*&#!$(PERL)&g;" \
  | 
| 
 | 
   192  | 
		gen-isaaxe.pl
  | 
| 
 | 
   193  | 
	@rm -f bin/gen-isaaxe;\
  | 
| 
 | 
   194  | 
	ln -s ../perl/generators/gen-isaaxe.pl bin/gen-isaaxe
  | 
| 
 | 
   195  | 
  | 
| 
 | 
   196  | 
# ----------------------------------------------------
  | 
| 
5672
 | 
   197  | 
  | 
| 
1826
 | 
   198  | 
bin/gen-isa_gnu_emacs: Makefile #perl/generators/gen-isa_gnu_emacs.pl
  | 
| 
 | 
   199  | 
	@echo "configuring gen-isa_gnu_emacs"
  | 
| 
 | 
   200  | 
	@cd perl/generators;\
  | 
| 
 | 
   201  | 
	$(PERL) -pi \
  | 
| 
 | 
   202  | 
		-e "s&^#!.*&#!$(PERL)&g;" \
  | 
| 
 | 
   203  | 
		gen-isa_gnu_emacs.pl
  | 
| 
 | 
   204  | 
	@rm -f bin/gen-isa_gnu_emacs;\
  | 
| 
 | 
   205  | 
	ln -s ../perl/generators/gen-isa_gnu_emacs.pl bin/gen-isa_gnu_emacs
  | 
| 
 | 
   206  | 
  | 
| 
 | 
   207  | 
# ----------------------------------------------------
  | 
| 
5672
 | 
   208  | 
  | 
| 
1826
 | 
   209  | 
bin/gen-isa_xemacs: Makefile #perl/generators/gen-isa_xemacs.pl
  | 
| 
 | 
   210  | 
	@echo "configuring gen-isa_xemacs"
  | 
| 
 | 
   211  | 
	@cd perl/generators;\
  | 
| 
 | 
   212  | 
	$(PERL) -pi \
  | 
| 
 | 
   213  | 
		-e "s&^#!.*&#!$(PERL)&g;" \
  | 
| 
 | 
   214  | 
		gen-isa_xemacs.pl
  | 
| 
 | 
   215  | 
	@rm -f bin/gen-isa_xemacs;\
  | 
| 
 | 
   216  | 
	ln -s ../perl/generators/gen-isa_xemacs.pl bin/gen-isa_xemacs
  | 
| 
 | 
   217  | 
  | 
| 
 | 
   218  | 
# ----------------------------------------------------
  | 
| 
5672
 | 
   219  | 
  | 
| 
1826
 | 
   220  | 
bin/gen-isadoc: Makefile #perl/generators/gen-isadoc.pl
  | 
| 
 | 
   221  | 
	@echo "configuring gen-isadoc"
  | 
| 
 | 
   222  | 
	@cd perl/generators;\
  | 
| 
 | 
   223  | 
	$(PERL) -pi \
  | 
| 
 | 
   224  | 
		-e "s&^#!.*&#!$(PERL)&g;" \
  | 
| 
 | 
   225  | 
		gen-isadoc.pl
  | 
| 
 | 
   226  | 
	@rm -f bin/gen-isadoc;\
  | 
| 
 | 
   227  | 
	ln -s ../perl/generators/gen-isadoc.pl bin/gen-isadoc
  | 
| 
4175
 | 
   228  | 
	@rm -f doc/isa2latex.sty;\
  | 
| 
 | 
   229  | 
	ln -s ../latex/isa2latex.sty doc/isa2latex.sty
  | 
| 
1826
 | 
   230  | 
  | 
| 
 | 
   231  | 
  | 
| 
 | 
   232  | 
#######      Converter        
  | 
| 
 | 
   233  | 
  | 
| 
 | 
   234  | 
# ----------------------------------------------------
  | 
| 
5672
 | 
   235  | 
  | 
| 
1826
 | 
   236  | 
#isa2latex, editor support, font documentation:
  | 
| 
 | 
   237  | 
configuration:
  | 
| 
 | 
   238  | 
	@cd config; $(GMAKE)
  | 
| 
 | 
   239  | 
  | 
| 
4175
 | 
   240  | 
manual:
  | 
| 
 | 
   241  | 
	@cd doc; $(GMAKE) manual.dvi
  | 
| 
 | 
   242  | 
  | 
| 
1826
 | 
   243  | 
a2isa:
  | 
| 
 | 
   244  | 
	@cd c-sources/a2isa; $(GMAKE); $(GMAKE) clean
  | 
| 
 | 
   245  | 
  | 
| 
 | 
   246  | 
bin/isa2latex: c-sources/isa2latex/isa2latex
  | 
| 
 | 
   247  | 
	@echo "installing isa2latex"
  | 
| 
 | 
   248  | 
	@rm -f bin/isa2latex;\
  | 
| 
1988
 | 
   249  | 
	ln -s ../c-sources/isa2latex/isa2latex bin/isa2latex
  | 
| 
1826
 | 
   250  | 
  | 
| 
 | 
   251  | 
bin/a2isa: c-sources/a2isa/a2isa
  | 
| 
 | 
   252  | 
	@echo "installing a2isa"
  | 
| 
 | 
   253  | 
	@rm -f bin/a2isa;\
  | 
| 
 | 
   254  | 
	ln -s ../c-sources/a2isa/a2isa bin/a2isa
  | 
| 
 | 
   255  | 
  | 
| 
4168
 | 
   256  | 
bin/ax2isa: c-sources/a2isa/ax2isa
  | 
| 
 | 
   257  | 
	@echo "installing ax2isa"
  | 
| 
 | 
   258  | 
	@rm -f bin/ax2isa;\
  | 
| 
 | 
   259  | 
	ln -s ../c-sources/a2isa/ax2isa bin/ax2isa
  | 
| 
 | 
   260  | 
  | 
| 
1826
 | 
   261  | 
#######      Editors        
  | 
| 
 | 
   262  | 
  | 
| 
 | 
   263  | 
# ----------------------------------------------------
  | 
| 
5672
 | 
   264  | 
  | 
| 
1826
 | 
   265  | 
bin/isa_gnu_emacs: Makefile #gnu_emacs/isa_gnu_emacs
  | 
| 
 | 
   266  | 
	@echo "installing GNU emacs"
  | 
| 
 | 
   267  | 
	@cd gnu_emacs;\
  | 
| 
 | 
   268  | 
	$(PERL) -pi \
  | 
| 
 | 
   269  | 
		-e "s&^#!.*&#!$(BASH)&g;" \
  | 
| 
 | 
   270  | 
		-e "s#^ENAME\s*=.*#ENAME=$(GNU_ENAME)#g;"\
  | 
| 
 | 
   271  | 
		-e "s#^INIT\s*=.*#INIT=$(GNU_INIT)#g;" \
  | 
| 
 | 
   272  | 
		isa_gnu_emacs
  | 
| 
 | 
   273  | 
	@rm -f bin/isa_gnu_emacs;\
  | 
| 
 | 
   274  | 
	ln -s ../gnu_emacs/isa_gnu_emacs bin/isa_gnu_emacs
  | 
| 
 | 
   275  | 
  | 
| 
 | 
   276  | 
# ----------------------------------------------------
  | 
| 
5672
 | 
   277  | 
  | 
| 
1826
 | 
   278  | 
bin/isa_xemacs: Makefile #xemacs/isa_xemacs
  | 
| 
 | 
   279  | 
	@echo "installing xemacs"
  | 
| 
 | 
   280  | 
	@@cd xemacs;\
  | 
| 
 | 
   281  | 
	$(PERL) -pi\
  | 
| 
 | 
   282  | 
		-e "s&^#!.*&#!$(BASH)&g;" \
  | 
| 
 | 
   283  | 
		-e "s#^ENAME\s*=.*#ENAME=$(XEMACS_ENAME)#g;"\
  | 
| 
 | 
   284  | 
		-e "s#^INIT\s*=.*#INIT=$(XEMACS_INIT)#g;" \
  | 
| 
 | 
   285  | 
		isa_xemacs
  | 
| 
 | 
   286  | 
	@rm -f bin/isa_xemacs;\
  | 
| 
 | 
   287  | 
	ln -s ../xemacs/isa_xemacs bin/isa_xemacs
  | 
| 
 | 
   288  | 
  | 
| 
 | 
   289  | 
# ----------------------------------------------------
  | 
| 
5672
 | 
   290  | 
  | 
| 
1826
 | 
   291  | 
bin/isavim: Makefile #vim/isavim
  | 
| 
 | 
   292  | 
	@echo "installing vim"
  | 
| 
 | 
   293  | 
	@@cd vim;\
  | 
| 
 | 
   294  | 
	$(PERL) -pi\
  | 
| 
 | 
   295  | 
		-e "s&^#!.*&#!$(BASH)&g;" \
  | 
| 
 | 
   296  | 
		initvim ; \
  | 
| 
 | 
   297  | 
	$(PERL) -pi\
  | 
| 
 | 
   298  | 
		-e "s&^#!.*&#!$(BASH)&g;" \
  | 
| 
 | 
   299  | 
		isavim
  | 
| 
 | 
   300  | 
	@rm -f bin/isavim;\
  | 
| 
 | 
   301  | 
	ln -s ../vim/isavim bin/isavim
  | 
| 
 | 
   302  | 
  | 
| 
 | 
   303  | 
# ----------------------------------------------------
  | 
| 
5672
 | 
   304  | 
  | 
| 
1826
 | 
   305  | 
bin/isaaxe: Makefile #axe/isaaxe
  | 
| 
 | 
   306  | 
	@echo "installing axe"
  | 
| 
 | 
   307  | 
	@cd axe;\
  | 
| 
 | 
   308  | 
	$(PERL) -pi \
  | 
| 
 | 
   309  | 
		-e "s&^#!.*&#!$(BASH)&g;" \
  | 
| 
 | 
   310  | 
		isaaxe
  | 
| 
 | 
   311  | 
	@rm -f bin/isaaxe;\
  | 
| 
 | 
   312  | 
	ln -s ../axe/isaaxe bin/isaaxe
  | 
| 
 | 
   313  | 
  | 
| 
 | 
   314  | 
# ----------------------------------------------------
  | 
| 
5672
 | 
   315  | 
  | 
| 
1826
 | 
   316  | 
bin/isa_xmosaic: Makefile #xmosaic/isa_xmosaic
  | 
| 
 | 
   317  | 
	@echo "installing xmosaic"
  | 
| 
 | 
   318  | 
	@cd xmosaic;\
  | 
| 
 | 
   319  | 
	$(PERL) -pi\
  | 
| 
 | 
   320  | 
		-e "s&^#!.*&#!$(BASH)&g;" \
  | 
| 
 | 
   321  | 
		isa_xmosaic
  | 
| 
 | 
   322  | 
	@rm -f bin/isa_xmosaic;\
  | 
| 
 | 
   323  | 
	ln -s ../xmosaic/isa_xmosaic bin/isa_xmosaic
  | 
| 
 | 
   324  | 
  | 
| 
 | 
   325  | 
#######      Terminal        
  | 
| 
 | 
   326  | 
  | 
| 
 | 
   327  | 
# ----------------------------------------------------
  | 
| 
 | 
   328  | 
  | 
| 
 | 
   329  | 
bin/isaterm: Makefile #term/isaterm
  | 
| 
 | 
   330  | 
	@echo "installing term"
  | 
| 
 | 
   331  | 
	@cd term;\
  | 
| 
 | 
   332  | 
	$(PERL) -pi\
  | 
| 
 | 
   333  | 
		-e "s&^#!.*&#!$(BASH)&g;" \
  | 
| 
 | 
   334  | 
		initisaterm;\
  | 
| 
 | 
   335  | 
	$(PERL) -pi\
  | 
| 
 | 
   336  | 
		-e "s&^#!.*&#!$(BASH)&g;" \
  | 
| 
 | 
   337  | 
		isaterm
  | 
| 
 | 
   338  | 
	@rm -f bin/isaterm;\
  | 
| 
 | 
   339  | 
	ln -s ../term/isaterm bin/isaterm	
  | 
| 
 | 
   340  | 
  | 
| 
 | 
   341  | 
#######      other perl scripts
  | 
| 
 | 
   342  | 
  | 
| 
 | 
   343  | 
# ----------------------------------------------------
  | 
| 
 | 
   344  | 
  | 
| 
 | 
   345  | 
bin/isapal: Makefile #perl/isapal.pl
  | 
| 
 | 
   346  | 
	@echo "installing perl script isapal"
  | 
| 
 | 
   347  | 
	@cd perl;\
  | 
| 
 | 
   348  | 
	$(PERL) -pi \
  | 
| 
 | 
   349  | 
		-e "s&^#!.*&#!$(PERL)&g;"\
  | 
| 
 | 
   350  | 
		isapal.pl
  | 
| 
 | 
   351  | 
	@rm -f bin/isapal;\
  | 
| 
 | 
   352  | 
	ln -s ../perl/isapal.pl bin/isapal
  | 
| 
 | 
   353  | 
  | 
| 
 | 
   354  | 
bin/codetable: Makefile #perl/codetable.pl
  | 
| 
 | 
   355  | 
	@echo "installing perl script codetable"
  | 
| 
 | 
   356  | 
	@cd perl;\
  | 
| 
 | 
   357  | 
	$(PERL) -pi \
  | 
| 
 | 
   358  | 
		-e "s&^#!.*&#!$(PERL)&g;" \
  | 
| 
 | 
   359  | 
		codetable.pl
  | 
| 
 | 
   360  | 
	@rm -f bin/codetable;\
  | 
| 
 | 
   361  | 
	ln -s ../perl/codetable.pl bin/codetable
  | 
| 
 | 
   362  | 
  | 
| 
 | 
   363  | 
bin/patcher: Makefile #perl/patcher.pl
  | 
| 
 | 
   364  | 
	@echo "installing perl script patcher"
  | 
| 
 | 
   365  | 
	@cd perl;\
  | 
| 
 | 
   366  | 
	$(PERL) -pi \
  | 
| 
 | 
   367  | 
	-e "s&^#!.*&#!$(PERL)&g;" \
  | 
| 
 | 
   368  | 
	patcher.pl
  | 
| 
 | 
   369  | 
	@rm -f bin/patcher;\
  | 
| 
 | 
   370  | 
	ln -s ../perl/patcher.pl bin/patcher
  | 
| 
 | 
   371  | 
  | 
| 
 | 
   372  | 
fonts/install: Makefile
  | 
| 
 | 
   373  | 
	@cd fonts;\
  | 
| 
 | 
   374  | 
	$(PERL) -pi\
  | 
| 
 | 
   375  | 
		-e "s&^#!.*&#!$(BASH)&g;" \
  | 
| 
 | 
   376  | 
		install
  | 
| 
 | 
   377  | 
  | 
| 
 | 
   378  | 
keyboard/install: Makefile
  | 
| 
 | 
   379  | 
	@cd keyboard;\
  | 
| 
 | 
   380  | 
	$(PERL) -pi\
  | 
| 
 | 
   381  | 
		-e "s&^#!.*&#!$(BASH)&g;" \
  | 
| 
 | 
   382  | 
		-e "s#^SUPER_L\s*=.*#SUPER_L=$(SUPER_L)#g;"\
  | 
| 
 | 
   383  | 
		-e "s#^HYPER_R\s*=.*#HYPER_R=$(HYPER_R)#g;"\
  | 
| 
 | 
   384  | 
		install
  | 
| 
 | 
   385  | 
  | 
| 
1856
 | 
   386  | 
isa-patches/HOL/add-HOL.cfg: Makefile
  | 
| 
 | 
   387  | 
	@cd isa-patches/HOL;\
  | 
| 
 | 
   388  | 
	$(PERL) -pi -e "s#^STEM\s*\".*#STEM \"$(STEM)\"#g;" add-HOL.cfg
  | 
| 
 | 
   389  | 
isa-patches/HOL/clean-HOL.cfg: Makefile
  | 
| 
 | 
   390  | 
	@cd isa-patches/HOL;\
  | 
| 
 | 
   391  | 
	$(PERL) -pi -e "s#^STEM\s*\".*#STEM \"$(STEM)\"#g;" clean-HOL.cfg
  | 
| 
 | 
   392  | 
isa-patches/HOL/extract-HOL.cfg: Makefile
  | 
| 
 | 
   393  | 
	@cd isa-patches/HOL;\
  | 
| 
 | 
   394  | 
	$(PERL) -pi -e "s#^STEM\s*\".*#STEM \"$(STEM)\"#g;" extract-HOL.cfg
  | 
| 
 | 
   395  | 
isa-patches/HOLCF/add-HOLCF.cfg: Makefile
  | 
| 
 | 
   396  | 
	@cd isa-patches/HOLCF;\
  | 
| 
 | 
   397  | 
	$(PERL) -pi -e "s#^STEM\s*\".*#STEM \"$(STEM)\"#g;" add-HOLCF.cfg
  | 
| 
 | 
   398  | 
isa-patches/HOLCF/clean-HOLCF.cfg: Makefile
  | 
| 
 | 
   399  | 
	@cd isa-patches/HOLCF;\
  | 
| 
 | 
   400  | 
	$(PERL) -pi -e "s#^STEM\s*\".*#STEM \"$(STEM)\"#g;" clean-HOLCF.cfg
  | 
| 
 | 
   401  | 
isa-patches/HOLCF/extract-HOLCF.cfg: Makefile
  | 
| 
 | 
   402  | 
	@cd isa-patches/HOLCF;\
  | 
| 
 | 
   403  | 
	$(PERL) -pi -e "s#^STEM\s*\".*#STEM \"$(STEM)\"#g;" extract-HOLCF.cfg
  | 
| 
 | 
   404  | 
  | 
| 
1826
 | 
   405  | 
# ----------------------------------------------------
  | 
| 
 | 
   406  | 
  |