#!/bin/sh # install-all: script to install False Hamster into PLT/Racket and Guile if # they are available. # Copyright (C) 2017, 2022 Tim Chadburn # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Author's email: tim@orbitalwintersong.org.uk for IMP in @GUILE@ @PLT@ do echo Installing libraries into $IMP ... ./install-$IMP hamster 0-3 misc-utils.ss mmatch.ss mmatch-compiler.ss \ datasystem.ss tournie.ss done if test -n "@GUILE@" then echo Installing libraries which only work with guile ... ./install-guile hamster 0-3 generic-gui.scm guile-misc-utils.scm fi echo Installing data ... prefix=@prefix@ datarootdir=@datarootdir@ @MKDIR_P@ @datadir@/falsehamster rm -f @datadir@/falsehamster/* @INSTALL@ -m 644 data/* @datadir@/falsehamster echo Installing programs ... exec_prefix=@exec_prefix@ @INSTALL@ install-fh-data-for-user @bindir@ if test -n "@GUILE@" then @INSTALL@ data-editor data-editor.scm @bindir@ @INSTALL@ -m 644 false-hamster-data-editor.desktop /usr/share/applications fi