From 1722d6800fb769804600f91a442e07903f8af00a Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 26 Sep 2012 22:17:41 +0200 Subject: distro: Add the `guile', `typesetting', and `databases' package modules. * distro.scm (package-files): Adjust PREFIX-LEN to use the top-level directory, not %DISTRO-MODULE-DIRECTORY. * distro/packages/base.scm (guile-reader, guile-reader/guile-1.8, guile-reader/guile-2.0, lout, recutils): Move to... * distro/packages/guile.scm, distro/packages/typesetting.scm, distro/packages/databases.scm: ... here. New files. * Makefile.am (MODULES): Add them. (EXTRA_DIST): Add `.dir-locals.el'. * .dir-locals.el: New file, with settings formerly in `base.scm'. --- distro.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'distro.scm') diff --git a/distro.scm b/distro.scm index 79e09a3cc6..fc48285bbf 100644 --- a/distro.scm +++ b/distro.scm @@ -53,7 +53,7 @@ (define (package-files) "Return the list of files that implement distro modules." (define prefix-len - (string-length (dirname %distro-module-directory))) + (string-length (dirname (search-path %load-path "distro.scm")))) (file-system-fold (const #t) ; enter? (lambda (path stat result) ; leaf -- cgit 1.4.1