scx/scheme/Makefile.am

54 lines
1.2 KiB
Makefile
Raw Normal View History

pkgdata_SCRIPTS=load-scx.scm
nobase_pkgdata_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= $(pkgdata_SCRIPTS) $(nobase_pkgdata_SCRIPTS)
CLEANFILES= load-scx.scm
load-scx.scm: $(srcdir)/load-scx.scm.in
sed -e "s|@scxdatadir@|`pwd`/$(srcdir)|g" \
-e "s|@scxlibdir@|`pwd`/../c/xlib/.libs|g" $< > $@
install-data-hook:
sed -e "s|@scxdatadir@|$(pkgdatadir)|g" \
-e "s|@scxlibdir@|$(pkglibdir)|g" \
$(srcdir)/load-scx.scm.in \
> $(DESTDIR)/$(pkgdatadir)/load-scx.scm