From 28acf7dbae3733afedd895035c6a053aa4d69f8b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 28 Jan 2016 07:44:54 +0200 Subject: Move to common man prologues and epilogues --- doc/cli.sh | 16 ++++--- doc/epilogue.1 | 7 --- doc/epilogue.xhtml | 11 ----- doc/man-epilogue.1 | 1 + doc/man-epilogue.xhtml | 1 + doc/man-prologue.1 | 1 + doc/man-prologue.xhtml | 1 + doc/prologue.1 | 6 --- doc/prologue.xhtml | 118 ------------------------------------------------- doc/style | 2 +- 10 files changed, 14 insertions(+), 150 deletions(-) delete mode 100644 doc/epilogue.1 delete mode 100644 doc/epilogue.xhtml create mode 120000 doc/man-epilogue.1 create mode 120000 doc/man-epilogue.xhtml create mode 120000 doc/man-prologue.1 create mode 120000 doc/man-prologue.xhtml delete mode 100644 doc/prologue.1 delete mode 100644 doc/prologue.xhtml diff --git a/doc/cli.sh b/doc/cli.sh index 8422e7c..83aefdc 100755 --- a/doc/cli.sh +++ b/doc/cli.sh @@ -33,13 +33,15 @@ function compile () shift done - cli -I .. -v version="$version" -v date="$date" --include-base-last "${o[@]}" \ ---generate-html --html-prologue-file prologue.xhtml --html-epilogue-file \ -epilogue.xhtml --html-suffix .xhtml ../bpkg/$n.cli - - cli -I .. -v version="$version" -v date="$date" --include-base-last "${o[@]}" \ ---generate-man --man-prologue-file prologue.1 --man-epilogue-file epilogue.1 \ ---man-suffix .1 ../bpkg/$n.cli + cli -I .. -v project="bpkg" -v version="$version" -v date="$date" \ +--include-base-last "${o[@]}" --generate-html --html-prologue-file \ +man-prologue.xhtml --html-epilogue-file man-epilogue.xhtml --html-suffix \ +.xhtml ../bpkg/$n.cli + + cli -I .. -v project="bpkg" -v version="$version" -v date="$date" \ +--include-base-last "${o[@]}" --generate-man --man-prologue-file \ +man-prologue.1 --man-epilogue-file man-epilogue.1 --man-suffix .1 \ +../bpkg/$n.cli } o="--output-prefix bpkg- --class-doc bpkg::common_options=short" diff --git a/doc/epilogue.1 b/doc/epilogue.1 deleted file mode 100644 index 584f1c0..0000000 --- a/doc/epilogue.1 +++ /dev/null @@ -1,7 +0,0 @@ -.SH BUGS -Send bug reports to the @@ mailing list. -.SH COPYRIGHT -Copyright (c) 2014-2016 Code Synthesis Ltd - -Permission is granted to copy, distribute and/or modify this document under -the terms of the MIT License. diff --git a/doc/epilogue.xhtml b/doc/epilogue.xhtml deleted file mode 100644 index a835371..0000000 --- a/doc/epilogue.xhtml +++ /dev/null @@ -1,11 +0,0 @@ -

BUGS

- -

Send bug reports to the @@ mailing list.

- - - - - - - diff --git a/doc/man-epilogue.1 b/doc/man-epilogue.1 new file mode 120000 index 0000000..878a9ae --- /dev/null +++ b/doc/man-epilogue.1 @@ -0,0 +1 @@ +style/man-epilogue.1 \ No newline at end of file diff --git a/doc/man-epilogue.xhtml b/doc/man-epilogue.xhtml new file mode 120000 index 0000000..6c1722a --- /dev/null +++ b/doc/man-epilogue.xhtml @@ -0,0 +1 @@ +style/man-epilogue.xhtml \ No newline at end of file diff --git a/doc/man-prologue.1 b/doc/man-prologue.1 new file mode 120000 index 0000000..08b5b4b --- /dev/null +++ b/doc/man-prologue.1 @@ -0,0 +1 @@ +style/man-prologue.1 \ No newline at end of file diff --git a/doc/man-prologue.xhtml b/doc/man-prologue.xhtml new file mode 120000 index 0000000..34997e3 --- /dev/null +++ b/doc/man-prologue.xhtml @@ -0,0 +1 @@ +style/man-prologue.xhtml \ No newline at end of file diff --git a/doc/prologue.1 b/doc/prologue.1 deleted file mode 100644 index 9a71279..0000000 --- a/doc/prologue.1 +++ /dev/null @@ -1,6 +0,0 @@ -.\" Process this file with -.\" groff -man -Tascii $name$.$section$ -.\" -.TH $name$ $section$ "$date$" "bpkg $version$" -.SH NAME -\fB$name$\fR \- $summary$ diff --git a/doc/prologue.xhtml b/doc/prologue.xhtml deleted file mode 100644 index e3ef036..0000000 --- a/doc/prologue.xhtml +++ /dev/null @@ -1,118 +0,0 @@ - - - - - $name$($section$) bpkg $version$ - - - - - - -
- -

NAME

- -

$name$ – $summary$

diff --git a/doc/style b/doc/style index 0cba359..60fec06 160000 --- a/doc/style +++ b/doc/style @@ -1 +1 @@ -Subproject commit 0cba359075afacb16e1e05393a4f2836a9c5dc98 +Subproject commit 60fec06053818e32e97b028fa1d4d1085fd1e679 -- cgit v1.1