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

Re: zshall.1

DervishD wrote:
>     The real problem is that autoconf doesn't force the developer to
> change the names even when program-whatever options are used. So
> there is really NO WAY of telling if those options are intended to
> modify installation names or to do packaging: the developer can use
> it for both things (that's one of the million reasons why I wrote
> MOBS for my projects).

Well, we get to decide in our case... I think something like the following
ought to work, though I haven't tried this in situ (I did debug the
sed command)... sorry if this gets wrapped badly:

Index: Doc/Makefile.in
RCS file: /cvsroot/zsh/zsh/Doc/Makefile.in,v
retrieving revision 1.30
diff -u -r1.30 Makefile.in
--- Doc/Makefile.in	21 Oct 2005 09:51:55 -0000	1.30
+++ Doc/Makefile.in	24 Oct 2005 12:57:24 -0000
@@ -153,7 +153,7 @@
 	esac; \
 	case '$(YODL)' in :*) touch $$target ;; *) \
 	    echo $(YODL) -o $$target -I$(sdir) -DZSHALL -w zman.yo version.yo zsh.yo; \
-	    $(YODL) -I$(sdir) -DZSHALL -w zman.yo version.yo zsh.yo | sed -e '1s/\\-/-/g' -e '/^\.'\''/d' > $$target \
+	    $(YODL) -I$(sdir) -DZSHALL -w zman.yo version.yo zsh.yo | sed -e '1s/\\-/-/g' -e '/^\.'\''/d' -e 's|^\.so man1/zsh|.so man1/$(tzsh)|' > $$target \
 	;; esac; \
 ../META-FAQ: META-FAQ.yo Zsh/metafaq.yo


This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com

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