echo '(load "check")' | $(exe)
echo '(load "check-doc")' | $(exe)
-install:
+doc: mit-scheme-gtk.info
+doc: mit-scheme-gtk.html
+
+mit-scheme-gtk.info: gtk.texinfo
+ makeinfo --no-split --output=$@ $^
+
+mit-scheme-gtk.html: gtk.texinfo
+ makeinfo --html --no-split --output=$@ $^
+
+.PHONY: all check doc
+
+install: install-shim
+#install: install-doc
+
+install-shim:
echo '(install-shim "gtk")' \
| $(exe) -- *.com *.bci *.pkd make.scm conses.png
echo '(install-load-option "gtk")' | $(exe)
+# install-doc:
+# echo '(install-info "gtk")' | $(exe)
+# echo '(install-html "gtk")' | $(exe)
+
+.PHONY: install install-shim # install-doc
+
clean:
rm -f gtk-const.scm gtk-const gtk-const.c gtk-shim.c
rm -f gtk-*.crf gtk-*.fre gtk-*.pkd
`echo *.scm | sed 's/ gtk-const.scm//'` \
-r '/^([^iI].*/' Includes/*.cdecl
+.PHONY: clean distclean maintainer-clean tags
+
gtk-shim.so: gtk-shim.o gtkpanedview.o gtkscrolledview.o scmwidget.o gtkio.o
echo "(link-shim)" | $(exe) -- $(LDFLAGS) -o $@ $^ $(LIBS) \
`pkg-config --libs gtk+-3.0 gthread-2.0`
gtk-const.o: gtk-const.c gtk-shim.h
$(CC) $(CPPFLAGS) `pkg-config --cflags gtk+-3.0` $(CFLAGS) -c $<
-
-.PHONY: all check install clean distclean maintainer-clean tags