Fix texinfo: `make install-info` fails on macOS

This commit is contained in:
Takeshi KOMIYA 2019-03-02 17:41:48 +09:00
parent 57a7f76c77
commit 3987734c18
2 changed files with 3 additions and 1 deletions

View File

@ -21,6 +21,7 @@ Bugs fixed
* #6113: html: Table cells and list items have large margins
* #5508: ``linenothreshold`` option for ``highlight`` directive was ignored
* texinfo: ``make install-info`` causes syntax error
* texinfo: ``make install-info`` fails on macOS
Testing
--------

View File

@ -18,7 +18,8 @@ pdf: $(addsuffix .pdf,$(ALLDOCS))
install-info: info
for f in *.info; do \
cp -t $(infodir) "$$f" && \
mkdir -p $(infodir) && \
cp "$$f" $(infodir) && \
$(INSTALL_INFO) --info-dir=$(infodir) "$$f" ; \
done