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:
parent
72e7e02284
commit
482c3f1695
11
Makefile.am
11
Makefile.am
@ -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)
|
||||
|
11
Makefile.in
11
Makefile.in
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user