autocompiled files before installation go to a cache dir in the builddir
* libguile/load.c (scm_init_load_path): Append a slash after XDG_CACHE_HOME. * meta/gdb-uninstalled-guile.in: * meta/guile.in (XDG_CACHE_HOME): Export this var so we write to a cache within the build directory. Probably we should have a GUILE_CACHE_DIR to be more specific, though. * Makefile.am (clean-local): Clear the cache when making clean.
This commit is contained in:
parent
53a468dd8c
commit
48a0fe4d6b
4 changed files with 10 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Copyright (C) 2002, 2006, 2008 Free Software Foundation
|
||||
# Copyright (C) 2002, 2006, 2008, 2009 Free Software Foundation
|
||||
#
|
||||
# This file is part of GUILE.
|
||||
#
|
||||
|
|
@ -41,6 +41,8 @@ top_builddir="@top_builddir_absolute@"
|
|||
# set GUILE (clobber)
|
||||
GUILE=${top_builddir}/libguile/guile
|
||||
export GUILE
|
||||
XDG_CACHE_HOME=${top_builddir}/cache
|
||||
export XDG_CACHE_HOME
|
||||
|
||||
# do it
|
||||
exec ${top_builddir}/meta/uninstalled-env $GUILE "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue