Commit 688bd3f8 authored by Russ Fish's avatar Russ Fish

Regenerate the loghole tutorial page with the current loghole man page when it changes.

parent d992a09e
......@@ -1373,6 +1373,7 @@ done
#
......@@ -1961,17 +1962,17 @@ for ac_hdr in ulxmlrpcpp/ulxr_config.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:1964: checking for $ac_hdr" >&5
echo "configure:1966: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1969 "configure"
#line 1971 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
......@@ -2010,17 +2011,17 @@ for ac_hdr in linux/videodev.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:2013: checking for $ac_hdr" >&5
echo "configure:2015: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2018 "configure"
#line 2020 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:2025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
......@@ -2053,7 +2054,7 @@ done
# Extract the first word of "gtk-config", so it can be a program name with args.
set dummy gtk-config; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2056: checking for $ac_word" >&5
echo "configure:2058: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_GTK_CONFIG'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
......@@ -2132,7 +2133,7 @@ fi
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:2135: checking for a BSD compatible install" >&5
echo "configure:2137: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
......@@ -2193,7 +2194,7 @@ esac
# Extract the first word of "rsync", so it can be a program name with args.
set dummy rsync; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2196: checking for $ac_word" >&5
echo "configure:2198: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_RSYNC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
......@@ -2358,7 +2359,8 @@ outfiles="$outfiles Makeconf GNUmakefile \
utils/spewconlog utils/webspewconlog utils/xlogin \
www/GNUmakefile www/defs.php3 www/dbdefs.php3 www/xmlrpc.php3 \
www/xmlrpcpipe.php3 \
www/swish.conf www/websearch www/garcia-telemetry/GNUmakefile \
www/swish.conf www/websearch \
www/garcia-telemetry/GNUmakefile www/tutorial/GNUmakefile \
vis/GNUmakefile vis/webvistopology vis/dbvistopology \
vis/prerender vis/prerender_all vis/render \
vis/floormap vis/webfloormap \
......
......@@ -797,7 +797,8 @@ outfiles="$outfiles Makeconf GNUmakefile \
utils/spewconlog utils/webspewconlog utils/xlogin \
www/GNUmakefile www/defs.php3 www/dbdefs.php3 www/xmlrpc.php3 \
www/xmlrpcpipe.php3 \
www/swish.conf www/websearch www/garcia-telemetry/GNUmakefile \
www/swish.conf www/websearch \
www/garcia-telemetry/GNUmakefile www/tutorial/GNUmakefile \
vis/GNUmakefile vis/webvistopology vis/dbvistopology \
vis/prerender vis/prerender_all vis/render \
vis/floormap vis/webfloormap \
......
......@@ -21,7 +21,7 @@ HTMLINSTALL = $(INSTALL_SBINDIR)/htmlinstall
include $(OBJDIR)/Makeconf
SUBDIRS = garcia-telemetry
SUBDIRS = garcia-telemetry tutorial
#
# Force dependencies to make sure configure regenerates if the .in file
......@@ -250,6 +250,9 @@ $(INSTALL_DIR)/opsdir/www/%: %
-mkdir -p $(patsubst %/,%,$(dir $@))
$(INSTALL_DATA) $(subst $$,\$$,$<) $(subst $$,\$$,$@)
clean: clean-subdirs
distclean: distclean-subdirs
# How to recursively descend into subdirectories to make general
# targets such as `all'.
%.MAKE:
......
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2006 University of Utah and the Flux Group.
# All rights reserved.
#
SRCDIR = @srcdir@
TESTBED_SRCDIR = @top_srcdir@
OBJDIR = ../..
SUBDIR = www/tutorial
all: $(SRCDIR)/loghole.html
# We depend on the loghole.1 man page. It is formated into text and then
# html, and added to the end of the loghole web page.
#
# We also leave the checked-in loghole.html file, in order to avoid making a
# hard dependency on having man2html installed. There will be a warning, but
# not an error, if this fails. The original loghole.html will not be wiped out.
$(SRCDIR)/loghole.html: man1/loghole.1 $(SRCDIR)/loghole.html.head
-( man -M . 1 loghole > loghole-man.txt && \
man2html -bare < loghole-man.txt > loghole-man.html && \
cat $(SRCDIR)/loghole.html.head loghole-man.html > loghole.html.new && \
mv loghole.html.new $(SRCDIR)/loghole.html )
# Gotta have a man1 directory for man to search for .1 files.
man1:
mkdir man1
# Symlink the .1 source files into it for man to find.
# Add another layer of ../'s because it's a level lower in the tree.
# Don't error out if the symlink is already there.
man1/loghole.1: man1
- ln -s ../$(TESTBED_SRCDIR)/utils/loghole.1 man1/loghole.1
clean:
rm -rf man1 loghole-man.txt loghole-man.html loghole.html.new
This diff is collapsed.
<!--
EMULAB-COPYRIGHT
Copyright (c) 2000-2005 University of Utah and the Flux Group.
All rights reserved.
-->
<center>
<h1>Loghole - Emulab Log Management Utility</h1>
</center>
The <b>loghole</b> utility downloads log files from certain directories on the
experimental nodes (e.g. "/local/logs") to the Emulab users machine. After
downloading, it can also be used to produce and manage archives of the log
files. <p>
Using this utility to manage an experiment's log files is encouraged
because it will transfer the logs in a network-friendly manner and is already
integrated with the rest of Emulab. For example, any programs executed using
the Emulab event-system will have their standard output/error automatically
placed in the "/local/logs" directory. The tool can also be used to preserve
multiple trials of an experiment by producing and managing zip archives of the
logs. <p>
You can learn more about the <b>loghole</b> utility by reading its man page on
<i>users.emulab.net</i>, included below.
<!-- Generated by testbed/www/tutorial/GNUmakefile.in . -->
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment