branch: externals/hyperbole
commit 34ecafb6796188865320d877e06972498286e3d8
Author: Mats Lidell <[email protected]>
Commit: GitHub <[email protected]>
Do not copy elc files to hyperbole docker folder (#885)
When using the docker target, elc files from the local workspace would be
brought over which caused subtle errors due to elc files not being backwards
compatible.
* Makefile (docker): Remove all elc files in the docker container.
---
ChangeLog | 4 ++++
Makefile | 3 ++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 37a2367ab9..0c9ff7eeef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2026-03-04 Mats Lidell <[email protected]>
+
+* Makefile (docker): Remove all elc files in the docker container.
+
2026-03-03 Mats Lidell <[email protected]>
* hload-path.el (hload-path--make-directory-autoloads): Use Emacs provided
diff --git a/Makefile b/Makefile
index 7142e29625..dcc36bc8f3 100644
--- a/Makefile
+++ b/Makefile
@@ -651,7 +651,8 @@ recompile-docker-elpa:
docker: docker-update
docker run --mount type=volume,src=elpa-local,dst=/root/.emacs.d/elpa \
- -v $$(pwd):/hypb -v /tmp:/hypb-tmp -it --rm
silex/emacs:${DOCKER_VERSION} bash -c "cp -a /hypb /hyperbole && make -C
hyperbole recompile-docker-elpa ${DOCKER_TARGETS}"
+ -v $$(pwd):/hypb -v /tmp:/hypb-tmp -it --rm
silex/emacs:${DOCKER_VERSION} \
+ bash -c "cp -a /hypb /hyperbole && find /hyperbole -name '*.elc'
-delete && make -C hyperbole recompile-docker-elpa ${DOCKER_TARGETS}"
docker-run: docker-update
docker run --mount type=volume,src=elpa-local,dst=/root/.emacs.d/elpa \