Split 'summary' manpages into section 7 (misc).

R=stip@chromium.org
BUG=

Review URL: https://codereview.chromium.org/212593006

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@259655 0039d316-1c4b-4281-b951-d872f2087c98
experimental/szager/collated-output
iannucci@chromium.org 11 years ago
parent de70b1549f
commit 95801c77da

@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<meta name="generator" content="AsciiDoc 8.6.9" />
<title>depot_tools(1)</title>
<title>depot_tools(7)</title>
<style type="text/css">
/* Shared CSS for AsciiDoc xhtml11 and html5 backends */
@ -741,7 +741,7 @@ asciidoc.install();
<body class="manpage">
<div id="header">
<h1>
depot_tools(1) Manual Page
depot_tools(7) Manual Page
</h1>
<h2>NAME</h2>
<div class="sectionbody">
@ -885,7 +885,7 @@ Print a diff of the current branch, compared to its upstream.
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
Last updated 2014-03-25 15:09:11 PDT
Last updated 2014-03-26 03:27:50 PDT
</div>
</div>
</body>

@ -1,13 +1,13 @@
'\" t
.\" Title: depot_tools
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 03/25/2014
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
.\" Date: 03/26/2014
.\" Manual: Chromium depot_tools Manual
.\" Source: depot_tools 207bff1
.\" Source: depot_tools 9c0c59f
.\" Language: English
.\"
.TH "DEPOT_TOOLS" "1" "03/25/2014" "depot_tools 207bff1" "Chromium depot_tools Manual"
.TH "DEPOT_TOOLS" "7" "03/26/2014" "depot_tools 9c0c59f" "Chromium depot_tools Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

@ -1,4 +1,4 @@
depot_tools(1)
depot_tools(7)
==============
NAME

@ -50,15 +50,15 @@ s/Git Manual/Chromium depot_tools Manual
wq
EOF
# fix Makefile to include non-_-prefixed files as MAN1 entries
# fix Makefile to include non-_-prefixed files as MAN7 entries
{
shopt -s extglob
echo H
echo 16
echo 35
for x in "$(echo !(git-*|_*).txt)"
do
echo i
echo MAN1_TXT += $x
echo MAN7_TXT += $x
echo .
done
echo wq
@ -132,6 +132,7 @@ do
} > __${category}.txt
done
JOBS=0
HTML_TARGETS=()
MAN_TARGETS=()
for x in *.txt *.css
@ -147,7 +148,13 @@ do
if [[ ${x:0:1} != _ && ${x:(-4)} == .txt ]]
then
HTML_TARGETS+=("${x%%.txt}.html")
MAN_TARGETS+=("${x%%.txt}.1")
if [[ ${x:0:3} == git ]]
then
MAN1_TARGETS+=("${x%%.txt}.1")
else
MAN7_TARGETS+=("${x%%.txt}.7")
fi
JOBS=$[$JOBS + 2]
fi
done
@ -164,7 +171,7 @@ fi
(
export GIT_DIR="$(git rev-parse --git-dir)" &&
cd git/Documentation &&
make -j"$[${#MAN_TARGETS} + ${#HTML_TARGETS}]" "${MAN_TARGETS[@]}" "${HTML_TARGETS[@]}"
make -j"$JOBS" "${MAN1_TARGETS[@]}" "${MAN7_TARGETS[@]}" "${HTML_TARGETS[@]}"
)
for x in "${HTML_TARGETS[@]}"
@ -173,8 +180,14 @@ do
tr -d '\015' <"git/Documentation/$x" >"../html/$x"
done
for x in "${MAN_TARGETS[@]}"
for x in "${MAN1_TARGETS[@]}"
do
echo Copying ../man1/$x
cp "git/Documentation/$x" ../man1
done
for x in "${MAN7_TARGETS[@]}"
do
echo Copying ../man7/$x
cp "git/Documentation/$x" ../man7
done
Loading…
Cancel
Save