[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bash 5.1: shadow tree build fix
From: |
Marc Aurèle La France |
Subject: |
Bash 5.1: shadow tree build fix |
Date: |
Mon, 1 Feb 2021 16:15:56 -0700 (MST) |
User-agent: |
Alpine 2.20 (LNX 67 2015-01-07) |
These changes are needed when building bash in a symlink shadow tree of a
read-only source tree. While there, deal with a minor typo.
Please Reply-To-All.
Thanks.
Marc.
--
--- bash-5.1/Makefile.in
+++ devel-5.1/Makefile.in
@@ -649,6 +649,7 @@ ${GRAM_H}: y.tab.h
y.tab.c: parse.y
# -if test -f y.tab.h; then mv -f y.tab.h old-y.tab.h; fi
$(YACC) -d $(srcdir)/parse.y
+ $(RM) parser-built
touch parser-built
# -if cmp -s old-y.tab.h y.tab.h; then mv old-y.tab.h y.tab.h; else cp -p
y.tab.h ${GRAM_H}; fi
--- bash-5.1/doc/Makefile.in
+++ devel-5.1/doc/Makefile.in
@@ -173,23 +173,28 @@ html: ${HTMLFILES}
pdf: ${PDFFILES}
bashref.dvi: $(BASHREF_FILES) $(HSUSER) $(RLUSER)
+ $(RM) $@
${SET_TEXINPUTS} $(TEXI2DVI) $(srcdir)/bashref.texi || { ${RM} $@ ;
exit 1; }
bashref.info: $(BASHREF_FILES) $(HSUSER) $(RLUSER)
+ $(RM) $@
$(MAKEINFO) --no-split -I$(TEXINPUTDIR) $(srcdir)/bashref.texi
# experimental
bashref.pdf: $(BASHREF_FILES) $(HSUSER) $(RLUSER)
+ $(RM) $@
${SET_TEXINPUTS} $(TEXI2PDF) $(srcdir)/bashref.texi || { ${RM} $@ ;
exit 1; }
# can also use:
# $(TEXI2HTML) -menu -monolithic -I $(TEXINPUTDIR) $(srcdir)/bashref.texi
bashref.html: $(BASHREF_FILES) $(HSUSER) $(RLUSER)
+ $(RM) $@
$(MAKEINFO) --html --no-split -I$(TEXINPUTDIR) $(srcdir)/bashref.texi
bash.info: bashref.info
- ${SHELL} ${INFOPOST} < $(srcdir)/bashref.info > $@ ; \
+ $(RM) $@
+ ${SHELL} ${INFOPOST} < $(srcdir)/bashref.info > $@
bash.txt: bash.1
bash.ps: bash.1
- Bash 5.1: shadow tree build fix,
Marc Aurèle La France <=