Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh-5.0.5-dev-1



Hi again,

On Mon, Aug 11, 2014 at 06:06:12PM +0200, Axel Beckert wrote:
> Hrm. Not sure if there's something missing in the tar ball of if
> there's some need to change our packaging in Debian, but generating
> the docs fails as follows:
> 
>   make[2]: *** No rule to make target '../../Doc/texi2html.conf', needed by 'zsh_toc.html'.  Stop.
> 
> Will investigate.

It seems as if commit 3c25cb29aba4d4c1a907aa29db48c36d8dbac18e mixed
up source and build directories and hence broke out of tree building.

At least the following patch fixes it for me:

Index: zsh/Doc/Makefile.in
===================================================================
--- zsh.orig/Doc/Makefile.in	2014-08-11 18:18:12.000000000 +0200
+++ zsh/Doc/Makefile.in	2014-08-11 18:19:55.000000000 +0200
@@ -160,7 +160,7 @@
 html: zsh_toc.html
 .PHONY: html
 
-zsh_toc.html: $(sdir)/zsh.texi $(sdir)/texi2html.conf
+zsh_toc.html: $(sdir)/zsh.texi texi2html.conf
 	$(TEXI2HTML) $(sdir)/zsh.texi
 
 zshall.1: zsh.yo
@@ -251,7 +251,7 @@
 
 texi2html.conf: $(sdir_top)/Config/version.mk
 	echo '$$PRE_BODY_CLOSE = "<font size=\"-1\">Zsh version $(VERSION), released on $(VERSION_DATE).</font>";' \
-	    > $(sdir)/$@
+	    > $@
 
 Zsh/modlist.yo: $(MODDOCSRC)
 	( \

Haven't yet tested it with in-tree-building though. I'm also slightly
surprised that this only came up now. That commit is from January. So
maybe I'm still missing something else...

		Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe@xxxxxxxxxxxxxxx  (Mail)
 X   See http://www.nonhtmlmail.org/campaign.html | abe@xxxxxxxxx (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)



Messages sorted by: Reverse Date, Date, Thread, Author