diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-09-15 06:57:34 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-09-15 06:57:34 -0700 |
commit | f25d07b2f74150a5402fc34201beb34e2f5e99e0 (patch) | |
tree | b57e2de496c28b1db758bb8ad282faa7b3f8546c | |
parent | 17dcbe08ef36ff4f8cda12184dc1e9a1465ca825 (diff) | |
download | txr-f25d07b2f74150a5402fc34201beb34e2f5e99e0.tar.gz txr-f25d07b2f74150a5402fc34201beb34e2f5e99e0.tar.bz2 txr-f25d07b2f74150a5402fc34201beb34e2f5e99e0.zip |
build: remove .tlo.tmp file before compiling.
* Makefile (COMPILE_TL): Before we invoke txr --compile,
let's make sure there isn't a .tmp file left over by
a previous failed compile job. Otherwise --compile
will consider that to be an up-to-date compiled file
due to its newer timestamp relative to the .tl file,
and we end up renaming that to .tlo.
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -160,6 +160,7 @@ endef define COMPILE_TL $(call ABBREV,TXR) +$(call SH,rm -f $@.tmp) $(call SH,$(TXR) --in-package=sys --compile=$<:$@.tmp) $(call SH,mv $@.tmp $@) endef |