1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-01 18:30:55 +01:00

53336: avoid GNU make specific use of $< in a non-inference rule

This commit is contained in:
Oliver Kiddle 2025-01-30 12:47:08 +01:00
parent 86a0891952
commit e3f7f2fc85
3 changed files with 8 additions and 5 deletions

View file

@ -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

View file

@ -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; \

View file

@ -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 ==========