@if [ -s glxgears-unx.crf ]; then \
echo "glxgears-unx.crf:0: warning: non-empty"; exit 1; fi
-doc: mit-scheme-gl.info
-doc: mit-scheme-gl.html
-
-mit-scheme-gl.info: gl.texinfo
- makeinfo --no-split --output=$@ $^
-
-mit-scheme-gl.html: gl.texinfo
- makeinfo --html --no-split --output=$@ $^
-
-.PHONY: all check doc
+.PHONY: all check glxgears
install:
( echo '(begin'; \
echo ' (install-load-option "$(DESTDIR)" "gl"))' ) \
| $(exe) -- gl gl-glx gl-glxgears *.pkd make.scm
-# install-doc:
-# echo '(install-info "gl")' | $(exe)
-# echo '(install-html "gl")' | $(exe)
-
.PHONY: install
clean:
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
+prefix = @prefix@
+datarootdir = @datarootdir@
+infodir = @infodir@
+
all: gtk-shim.so gtk-types.bin gtk-const.bin
echo '(load "compile")' | $(exe)
@if [ -s gtk-unx.crf ]; then \
echo ' (install-load-option "$(DESTDIR)" "gtk"))' ) \
| $(exe) -- *.com *.bci *.pkd make.scm conses.png
-# install-doc:
-# echo '(install-info "gtk")' | $(exe)
-# echo '(install-html "gtk")' | $(exe)
+install-info: mit-scheme-gtk.info
+ install $< $(DESTDIR)$(infodir)/
+ install-info $< $(DESTDIR)$(infodir)/dir
+
+install-html: mit-scheme-gtk.html
+ echo "(install-html \"$(DESTDIR)\" \"GNOME interface\")" | $(exe) -- $<
-.PHONY: install
+.PHONY: install install-info install-html
clean:
rm -f gtk-const.scm gtk-const gtk-const.c gtk-shim.c