diff options
author | Oliver Kiddle <opk@zsh.org> | 2025-01-30 12:47:08 +0100 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2025-01-30 12:47:08 +0100 |
commit | e3f7f2fc8527409f42330e44bf9ff44d8c50efe1 (patch) | |
tree | 6193180f4da1048ce0b155a5e9bceb0b5c5718d6 | |
parent | 86a0891952f8cd83138bc2b6fe760190c67c8ff9 (diff) | |
download | zsh-e3f7f2fc8527409f42330e44bf9ff44d8c50efe1.tar.gz zsh-e3f7f2fc8527409f42330e44bf9ff44d8c50efe1.zip |
53336: avoid GNU make specific use of $< in a non-inference rule
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Doc/Makefile.in | 6 | ||||
-rw-r--r-- | Etc/Makefile.in | 4 |
3 files changed, 8 insertions, 5 deletions
@@ -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 ========== |