summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Doc/Makefile.in6
-rw-r--r--Etc/Makefile.in4
3 files changed, 8 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 1dce0b334..19e5b2497 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2025-01-30 Oliver Kiddle <opk@zsh.org>
+ * 53336: Doc/Makefile.in, Etc/Makefile.in:
+ avoid GNU make specific use of $< in a non-inference rule
+
* 53335: Src/hist.c, Src/string.c, Src/Zle/compcore.c,
Src/Zle/compctl.c, Src/Zle/compmatch.c, Src/Zle/computil.c:
Remove unused dupstring_glen() function and make use of the
diff --git a/Doc/Makefile.in b/Doc/Makefile.in
index a986aa1c5..d9eec58e8 100644
--- a/Doc/Makefile.in
+++ b/Doc/Makefile.in
@@ -121,13 +121,13 @@ zsh.pdf zsh_a4.pdf zsh_us.pdf: $(sdir)/zsh.texi
intro.pdf intro.a4.pdf intro.us.pdf: $(sdir)/intro.ms
if test $@ = intro.us.pdf || \
{ test $@ = intro.pdf && test "$(PAPERSIZE)" = us; }; then \
- pdfroff -mspdf --no-kill-null-pages -P-pletter --pdf-output=$@ $<; \
+ pdfroff -mspdf --no-kill-null-pages -P-pletter --pdf-output=$@ $(sdir)/intro.ms; \
else \
- pdfroff -mspdf --no-kill-null-pages -P-pa4 --pdf-output=$@ $<; \
+ pdfroff -mspdf --no-kill-null-pages -P-pa4 --pdf-output=$@ $(sdir)/intro.ms; \
fi
intro.html: $(sdir)/intro.ms
- if groff -ms -Thtml -P-jintro $< > tmp.html; then \
+ if groff -ms -Thtml -P-jintro $(sdir)/intro.ms > tmp.html; then \
mv tmp.html $@; \
else \
rm -f tmp.html; false; \
diff --git a/Etc/Makefile.in b/Etc/Makefile.in
index 9adba95db..53729a0bc 100644
--- a/Etc/Makefile.in
+++ b/Etc/Makefile.in
@@ -43,10 +43,10 @@ INSTALL = @INSTALL@
all: FAQ FAQ.html
FAQ: $(sdir)/FAQ.yo
- $(YODL2TXT) -o FAQ.txt $< && mv FAQ.txt $@
+ $(YODL2TXT) -o FAQ.txt $(sdir)/FAQ.yo && mv FAQ.txt $@
FAQ.html: $(sdir)/FAQ.yo
- $(YODL2HTML) -o $@ $<
+ $(YODL2HTML) -o $@ $(sdir)/FAQ.yo
# ========== DEPENDENCIES FOR CLEANUP ==========