gtk: install-load-option needs file list, not install-shim.
authorMatt Birkholz <matt@birkholz.chandler.az.us>
Tue, 17 Sep 2013 00:07:20 +0000 (17:07 -0700)
committerMatt Birkholz <matt@birkholz.chandler.az.us>
Tue, 17 Sep 2013 00:07:20 +0000 (17:07 -0700)
src/gtk/Makefile.in

index 60695f8a6e6fa0dbcd1ba3baa29c2127ff584326..b4c9120ae257e009e55213eb1954f157480445a7 100644 (file)
@@ -31,8 +31,9 @@ all: gtk-shim.so gtk-types.bin gtk-const.bin
             echo "gtk-unx.crf:0: warning: non-empty"; exit 1; fi
 
 check:
-       echo '(load "check")' | $(exe)
-       echo '(load "check-doc")' | $(exe)
+       ( echo '(begin';
+         echo '  (load "check")';
+         echo '  (load "check-doc"))' ) | $(exe)
 
 doc: mit-scheme-gtk.info
 doc: mit-scheme-gtk.html
@@ -49,9 +50,10 @@ install: install-shim
 #install: install-doc
 
 install-shim:
-       echo '(install-shim "gtk")' \
+       ( echo '(begin';
+         echo '  (install-shim "gtk")';
+         echo '  (install-load-option "gtk"))' ) \
        | $(exe) -- *.com *.bci *.pkd make.scm conses.png
-       echo '(install-load-option "gtk")' | $(exe)
 
 # install-doc:
 #      echo '(install-info "gtk")' | $(exe)