[latexrefman-commits] [SCM] latexrefman updated: r1074 - trunk
Vincent Belaiche
INVALID.NOREPLY at gnu.org.ua
Thu Dec 9 18:00:59 CET 2021
Author: vincentb1
Date: 2021-12-09 17:00:59 +0000 (Thu, 09 Dec 2021)
New Revision: 1074
Modified:
trunk/Makefile.1
Log:
Use | rather than recursive make to ensure date is updated before compilation.
Recursive make is less efficient and did not work because it is
dependent on the makefile name, ie as there was just ``$(MAKE)'' and
not ``$(Make) -f Makefile.1'' the wrong makefile was executed by the
sub-make.
Modified: trunk/Makefile.1
===================================================================
--- trunk/Makefile.1 2021-11-13 21:50:34 UTC (rev 1073)
+++ trunk/Makefile.1 2021-12-09 17:00:59 UTC (rev 1074)
@@ -109,7 +109,7 @@
# Build per language.
define lang_template
.PHONY: $(1)
-$(1): license-check-$(1) $($(1)_output)
+$(1): license-check-$(1) $($(1)_output) | updated-date-$(1)
endef
$(foreach lang,$(languages), $(eval $(call lang_template,$(lang))))
@@ -190,8 +190,7 @@
mv temp.texi $($(1)_manual).texi; \
fi
-updated-$(1): updated-date-$(1)
- $$(MAKE) $(1)
+updated-$(1): updated-date-$(1) $(1)
endef
$(foreach lang,$(languages), $(eval $(call lang_template,$(lang))))
More information about the latexrefman-commits
mailing list.