From 2088cbfcb294e5566297f2bce8712b37c4f17589 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 2 Oct 2024 13:53:26 +0100 Subject: Revert "config: Remove." This reverts commit d611d990b297b3d573d7d5af83e9376744d51dd5. We need to bring back a local node to evaluate javascript expressions on the head node. --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 718c677..1eaecfa 100644 --- a/Makefile +++ b/Makefile @@ -31,8 +31,10 @@ libdir ?= $(prefix)/lib guile_effective_version = 3.0 top_level_module_dir = $(project) +config_file = $(top_level_module_dir)/config.scm sources = $(wildcard $(top_level_module_dir)/*.scm) \ - $(wildcard $(top_level_module_dir)/work/*.scm) + $(wildcard $(top_level_module_dir)/work/*.scm) \ + $(config_file) objects = $(sources:.scm=.go) scripts = $(wildcard bin/*) tests = $(wildcard tests/*.scm) $(wildcard tests/work/*.scm) @@ -42,12 +44,12 @@ godir = $(libdir)/guile/$(guile_effective_version)/site-ccache .PHONY: all clean install -all: $(objects) +all: $(objects) $(config_file) %.scm: %.scm.in $(SED) 's|@NODE@|$(NODE)|' $< > $@ -%.go: %.scm +%.go: %.scm $(config_file) GUILE_AUTO_COMPILE=0 $(GUILD) compile -L . -o $@ $< check: @@ -65,4 +67,4 @@ install: $(sources) $(objects) $(scripts) done clean: - rm -f $(objects) + rm -f $(objects) $(config_file) -- cgit v1.2.3