From 4a6a353d1284299e11226c78bf782aa488913d29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 4 Aug 2020 11:15:42 +0200 Subject: Fix make install for tzget. --- configure | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 30a78a24..79bd713b 100755 --- a/configure +++ b/configure @@ -17,9 +17,15 @@ ;; when zoneinfo (use-modules (ice-9 rdelim)) +(define *develop* #t) + +(define PREFIX //) +(define CACHE_DIR (string-append PREFIX // "var/cache/calp")) +(define LIBEXEC (if *develop* here (string-append PREFIX // "usr/lib/calp")) + (define pipe - (-> here - (string-append "/tzget") + (-> LIBEXEC + (string-append // "tzget") ((@ (ice-9 popen) open-input-pipe)))) (define path (read-line pipe)) (define names (string-split (read-line pipe) #\space)) -- cgit v1.2.3