scx/scheme/Makefile.am

54 lines
1.2 KiB
Makefile

scheme_SCRIPTS=load-scx.scm
nobase_scheme_SCRIPTS= \
examples/hello-xft.scm \
examples/hello.scm \
examples/picture.scm \
examples/regions.scm \
examples/scxev.scm \
libs/libs-interfaces.scm \
libs/libs-packages.scm \
libs/xft.scm \
libs/xpm.scm \
libs/xrender.scm \
xlib/atom.scm \
xlib/client.scm \
xlib/colormap.scm \
xlib/cursor.scm \
xlib/display.scm \
xlib/error.scm \
xlib/event-types.scm \
xlib/event.scm \
xlib/extension.scm \
xlib/font.scm \
xlib/gcontext.scm \
xlib/grab.scm \
xlib/graphics.scm \
xlib/key.scm \
xlib/pixmap.scm \
xlib/property.scm \
xlib/region.scm \
xlib/sync-event.scm \
xlib/text.scm \
xlib/utility.scm \
xlib/visual.scm \
xlib/window.scm \
xlib/wm.scm \
xlib/xlib-interfaces.scm \
xlib/xlib-packages.scm \
xt/resource-types.scm \
xt/widget-type.scm \
xt/widget.scm
EXTRA_DIST= $(scheme_SCRIPTS) $(nobase_scheme_SCRIPTS)
CLEANFILES= load-scx.scm
load-scx.scm: $(srcdir)/load-scx.scm.in
sed -e "s|@scxschemedir@|`pwd`/$(srcdir)|g" \
-e "s|@scxlibsysdir@|`pwd`/../c/xlib/.libs|g" $< > $@
install-data-hook:
sed -e "s|@scxschemedir@|$(schemedir)|g" \
-e "s|@scxlibsysdir@|$(libsysdir)|g" \
$(srcdir)/load-scx.scm.in \
> $(DESTDIR)/$(schemedir)/load-scx.scm