Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Empty man pages are installed (if yodl is not available)
- X-seq: zsh-workers 24876
- From: "Jun T." <takimoto-j@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Empty man pages are installed (if yodl is not available)
- Date: Sun, 27 Apr 2008 04:33:03 +0900
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
It is rather tedious (and not necessary) to install yodl to
every machine on which I want to quickly test the latest CVS.
If yodl is not installed, "make" fails while making man pages,
of course, but empty man pages are created by the "touch"
command. Then "make install" will install these empty man
pages, replacing the pre-existing ones.
I know I can type
make install.bin install.modules install.fns
(or "make mandir=/xxx/yyy install")
but I frequently forget this...
How about modifying Doc/Makefile.in so that empty man pages
are not installed?
Index: Doc/Makefile.in
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Makefile.in,v
retrieving revision 1.41
diff -u -r1.41 Makefile.in
--- Doc/Makefile.in 27 Feb 2008 18:24:41 -0000 1.41
+++ Doc/Makefile.in 26 Apr 2008 19:20:59 -0000
@@ -278,6 +278,7 @@
install.man: man
${SHELL} $(sdir_top)/mkinstalldirs $(DESTDIR)$(mandir)/man1
for file in $(MAN); do \
+ test -s $(sdir)/$$file || exit 1; \
$(INSTALL_DATA) $(sdir)/$$file $(DESTDIR)$(mandir)/man1/`echo $
$file | sed 's|zsh|$(tzsh)|'` || exit 1; \
done
.PHONY: install.man
-----
Jun
Messages sorted by:
Reverse Date,
Date,
Thread,
Author