minaco2 / distcc

Automatically exported from code.google.com/p/distcc
GNU General Public License v2.0
0 stars 0 forks source link

no man page for lsdistcc #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Attached is a basic man page for lsdistcc.  It is a combination of text from 
lsdistcc.c and --help output.

Remember to add this also to Makefile.in.

Original issue reported on code.google.com by mand...@gmail.com on 8 May 2012 at 5:48

Attachments:

GoogleCodeExporter commented 9 years ago
I've added the l man page that you provided, with a small modification to also 
reference the pump(1) man page.
Here's the changes to Makefile.in:

Index: Makefile.in
===================================================================
--- Makefile.in (revision 768)
+++ Makefile.in (revision 769)
@@ -375,9 +375,9 @@
 default_files = $(default_dir)/distcc

 man1_MEN = man/distcc.1 man/distccd.1 man/distccmon-text.1 \
-           man/pump.1 man/include_server.1
+           man/lsdistcc.1 man/pump.1 man/include_server.1
 man_HTML = man/distcc_1.html man/distccd_1.html man/distccmon_text_1.html \
-      man/pump_1.html man/include_server_1.html
+           man/lsdistcc_1.html man/pump_1.html man/include_server_1.html
 MEN = $(man1_MEN)

 gnome_data = gnome/distccmon-gnome-icon.png    \
@@ -665,6 +665,9 @@
 man/distccmon_text_1.html: man/distccmon-text.1
    troff2html -man "$(srcdir)"/man/distccmon-text.1 > $@

+man/lsdistcc_1.html: man/lsdistcc.1
+   troff2html -man "$(srcdir)"/man/lsdistcc.1 > $@
+
 man/pump_1.html: man/pump.1
    troff2html -man "$(srcdir)"/man/pump.1 > $@

And here's the changes to the lsdistcc.1 page that you provided:

Index: man/lsdistcc.1
===================================================================
--- man/lsdistcc.1  (revision 769)
+++ man/lsdistcc.1  (working copy)
@@ -132,6 +132,10 @@
 export DISTCC_HOSTS = $(shell lsdistcc)
 .RE

+Or use
+.BR pump (1)
+which automatically invokes lsdistcc if you set DISTCC_POTENTIAL_HOSTS.
+
 .SH "EXIT STATUS"
 The exit status is 0 if any servers were found, and 1 otherwise.

@@ -143,6 +147,7 @@
 .SH "SEE ALSO"
 .BR distcc (1),
 .BR distccd (1),
+.BR pump (1),
 .BR printf (3)

Fixed in svn revision 771.

Original comment by fergus.h...@gmail.com on 9 May 2012 at 6:46

GoogleCodeExporter commented 9 years ago
Excellent.

> +Or use
> +.BR pump (1)
> +which automatically invokes lsdistcc if you set DISTCC_POTENTIAL_HOSTS.

I was not previously aware that is how pump processed it but there you go :-)

Original comment by mand...@gmail.com on 10 May 2012 at 1:53