zsh/zsh-4.3.10-doc_makefile.patch
OBS User autobuild 81b5c7e539 Accepting request 18109 from shells
Copy from shells/zsh based on submit request 18109 from user hennevogel

OBS-URL: https://build.opensuse.org/request/show/18109
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=12
2009-08-18 22:11:24 +00:00

51 lines
1.4 KiB
Diff

--- Doc/Makefile.in
+++ Doc/Makefile.in
@@ -40,7 +40,7 @@
MAKEINFO = makeinfo
TEXI2DVI = texi2dvi
DVIPS = dvips
-TEXI2HTML = @TEXI2HTML@ --output . --ifinfo --split=chapter --node-files
+TEXI2HTML = @TEXI2HTML@ --output . --split=chapter --node-files
.SUFFIXES: .yo .1
@@ -294,26 +294,9 @@
# install info pages, creating install directory if necessary
install.info: texi
${SHELL} $(sdir_top)/mkinstalldirs $(DESTDIR)$(infodir)
- rm -rf infodir
- mkdir infodir
- if ( \
- sed '/^@setfilename/s|zsh|$(tzsh)|' \
- < $(sdir)/zsh.texi > infodir/tzsh.texi && \
- (cd infodir && $(MAKEINFO) tzsh.texi) && \
- for file in infodir/$(tzsh).info*; do \
- $(INSTALL_DATA) $$file $(DESTDIR)$(infodir) || exit 1; \
- done \
- ); then \
- if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
- install-info --info-dir=$(DESTDIR)$(infodir) \
- $(DESTDIR)$(infodir)/$(tzsh).info; \
- else true; fi; \
- rm -rf infodir; \
- exit 0; \
- else \
- rm -rf infodir; \
- exit 1; \
- fi
+ for file in zsh.info*; do \
+ $(INSTALL_DATA) $$file $(DESTDIR)$(infodir) || exit 1; \
+ done
.PHONY: install.info
# uninstall man pages
@@ -332,7 +315,7 @@
# install HTML manual
install.html: html
${SHELL} $(sdir_top)/mkinstalldirs $(DESTDIR)$(htmldir)
- for file in *.html; do \
+ for file in zsh*.html; do \
$(INSTALL_DATA) $$file $(DESTDIR)$(htmldir) || exit 1; \
done
.PHONY: install.html