1
0
mirror of https://codeberg.org/cage/tinmop/ synced 2025-01-31 04:24:48 +01:00

- [makefile] used ASDF API to configure the place to search for lisp system, instead of manipulate the variable *source-registry*;

- added a MAKE rule to compile the project with vendored dependencies.
This commit is contained in:
cage 2025-01-28 19:59:22 +01:00
parent 72e7e02284
commit 482c3f1695
2 changed files with 20 additions and 2 deletions

View File

@ -103,7 +103,16 @@ $(PACKAGE): $(CONF_PATH_FILE) *.asd src/*
$(LISP_COMPILER) \
--dynamic-space-size $(DYNAMIC_MEMORY_SIZE) \
--eval "(require 'asdf)" \
--eval "(push \"$$(pwd)/\" asdf:*central-registry*)" \
--eval "(asdf:initialize-source-registry '(:source-registry :inherit-configuration (:tree \"$$(pwd)/\")))" \
--eval "(asdf:make '$(PACKAGE) :build-pathname \"../$(PACKAGE)\")" \
--eval "(uiop:quit)"
mv src/$(PACKAGE) $(PACKAGE)
$(PACKAGE)-vendored: $(CONF_PATH_FILE) *.asd src/*
$(LISP_COMPILER) \
--dynamic-space-size $(DYNAMIC_MEMORY_SIZE) \
--eval "(require 'asdf)" \
--eval "(asdf:initialize-source-registry '(:source-registry :ignore-inherited-configuration (:tree \"$$(pwd)/\")))" \
--eval "(asdf:make '$(PACKAGE) :build-pathname \"../$(PACKAGE)\")" \
--eval "(uiop:quit)"
mv src/$(PACKAGE) $(PACKAGE)

View File

@ -1127,7 +1127,16 @@ $(PACKAGE): $(CONF_PATH_FILE) *.asd src/*
$(LISP_COMPILER) \
--dynamic-space-size $(DYNAMIC_MEMORY_SIZE) \
--eval "(require 'asdf)" \
--eval "(push \"$$(pwd)/\" asdf:*central-registry*)" \
--eval "(asdf:initialize-source-registry '(:source-registry :inherit-configuration (:tree \"$$(pwd)/\")))" \
--eval "(asdf:make '$(PACKAGE) :build-pathname \"../$(PACKAGE)\")" \
--eval "(uiop:quit)"
mv src/$(PACKAGE) $(PACKAGE)
$(PACKAGE)-vendored: $(CONF_PATH_FILE) *.asd src/*
$(LISP_COMPILER) \
--dynamic-space-size $(DYNAMIC_MEMORY_SIZE) \
--eval "(require 'asdf)" \
--eval "(asdf:initialize-source-registry '(:source-registry :ignore-inherited-configuration (:tree \"$$(pwd)/\")))" \
--eval "(asdf:make '$(PACKAGE) :build-pathname \"../$(PACKAGE)\")" \
--eval "(uiop:quit)"
mv src/$(PACKAGE) $(PACKAGE)