Install Scheme code in scheme/
This commit is contained in:
parent
6a3a89a8c0
commit
cf516d26c9
|
@ -59,9 +59,10 @@
|
||||||
|
|
||||||
|
|
||||||
#if no_x == 'yes' fail ...
|
#if no_x == 'yes' fail ...
|
||||||
|
schemedir="${prefix}/scheme"
|
||||||
libsysdir="${prefix}/lib/`uname -m`-`uname -s`"
|
libsysdir="${prefix}/lib/`uname -m`-`uname -s`"
|
||||||
AC_SUBST(libsysdir)
|
AC_SUBST(libsysdir)
|
||||||
|
AC_SUBST(schemedir)
|
||||||
AC_SUBST(LIBS)
|
AC_SUBST(LIBS)
|
||||||
AC_SUBST(CC)
|
AC_SUBST(CC)
|
||||||
AC_SUBST(x_includes)
|
AC_SUBST(x_includes)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
pkgdata_SCRIPTS=load-scx.scm
|
scheme_SCRIPTS=load-scx.scm
|
||||||
nobase_pkgdata_SCRIPTS= \
|
nobase_scheme_SCRIPTS= \
|
||||||
examples/hello-xft.scm \
|
examples/hello-xft.scm \
|
||||||
examples/hello.scm \
|
examples/hello.scm \
|
||||||
examples/picture.scm \
|
examples/picture.scm \
|
||||||
|
@ -39,15 +39,15 @@ nobase_pkgdata_SCRIPTS= \
|
||||||
xt/widget-type.scm \
|
xt/widget-type.scm \
|
||||||
xt/widget.scm
|
xt/widget.scm
|
||||||
|
|
||||||
EXTRA_DIST= $(pkgdata_SCRIPTS) $(nobase_pkgdata_SCRIPTS)
|
EXTRA_DIST= $(scheme_SCRIPTS) $(nobase_scheme_SCRIPTS)
|
||||||
CLEANFILES= load-scx.scm
|
CLEANFILES= load-scx.scm
|
||||||
|
|
||||||
load-scx.scm: $(srcdir)/load-scx.scm.in
|
load-scx.scm: $(srcdir)/load-scx.scm.in
|
||||||
sed -e "s|@scxdatadir@|`pwd`/$(srcdir)|g" \
|
sed -e "s|@scxschemedir@|`pwd`/$(srcdir)|g" \
|
||||||
-e "s|@scxlibsysdir@|`pwd`/../c/xlib/.libs|g" $< > $@
|
-e "s|@scxlibsysdir@|`pwd`/../c/xlib/.libs|g" $< > $@
|
||||||
|
|
||||||
install-data-hook:
|
install-data-hook:
|
||||||
sed -e "s|@scxdatadir@|$(pkgdatadir)|g" \
|
sed -e "s|@scxschemedir@|$(schemedir)|g" \
|
||||||
-e "s|@scxlibsysdir@|$(libsysdir)|g" \
|
-e "s|@scxlibsysdir@|$(libsysdir)|g" \
|
||||||
$(srcdir)/load-scx.scm.in \
|
$(srcdir)/load-scx.scm.in \
|
||||||
> $(DESTDIR)/$(pkgdatadir)/load-scx.scm
|
> $(DESTDIR)/$(schemedir)/load-scx.scm
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
(dynamic-load module-file)
|
(dynamic-load module-file)
|
||||||
(call-external (get-external initializer-name))))
|
(call-external (get-external initializer-name))))
|
||||||
(config)
|
(config)
|
||||||
(load "@scxdatadir@/xlib/xlib-interfaces.scm")
|
(load "@scxschemedir@/xlib/xlib-interfaces.scm")
|
||||||
(load "@scxdatadir@/xlib/xlib-packages.scm")
|
(load "@scxschemedir@/xlib/xlib-packages.scm")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue