Check-in [6cc2f2abd9]
Overview
Comment:Added script to build web-based man pages
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6cc2f2abd90b92f416a5457c36459a94ca5d8515
User & Date: rkeene on 2006-12-12 15:31:54
Other Links: manifest | tags
Context
2006-12-15
23:15
Fixed potential buffer bounds issues check-in: e25a9d7fae user: rkeene tags: trunk
2006-12-12
15:31
Added script to build web-based man pages check-in: 6cc2f2abd9 user: rkeene tags: trunk
2006-09-27
11:23
Patched libconfig check-in: 22b94f5de6 user: rkeene tags: trunk
Changes

Added build/build_web_manpages version [15a48182c3].















1
2
3
4
5
6
7
8
9
10
11
12
13
14
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#! /bin/bash
if [ ! -f libconfig.3 ]; then
	cd ..
fi

if [ ! -f libconfig.3 ]; then
	echo  'Could not find libconfig.3, aborting.' >&2
	exit 1
fi

for file in lc_cleanup lc_geterrno lc_geterrstr lc_process lc_process_file lc_register_callback lc_register_var libconfig; do
	man2html -H "REPLACE" -M "/ME" < ${file}.3 | grep -iv '^Content-Type:' | sed 's@"http://REPLACE/ME?\([0-9]*\)+\([^"]*\)"@"\2.htm"@;s@http://REPLACE/ME@@g' > /web/rkeene/docs/oss/libconfig/${file}.htm
done