mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
Meta/docbuild-8: make it easier to compare AsciiDoc 7 and 8 output
This commit is contained in:
@@ -1,6 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
PATH=~/asciidoc/bin:$PATH \
|
||||
make prefix=/var/tmp/asciidoc8 \
|
||||
WEBDOC_DEST=/var/tmp/asciidoc8/webdoc \
|
||||
case "$1" in
|
||||
7)
|
||||
V=7
|
||||
EXTRA=
|
||||
;;
|
||||
8 | '')
|
||||
V=8
|
||||
PATH=~/asciidoc/bin:$PATH
|
||||
EXTRA=ASCIIDOC8=YesPlease
|
||||
;;
|
||||
esac
|
||||
|
||||
make prefix=/var/tmp/asciidoc$V \
|
||||
WEBDOC_DEST=/var/tmp/asciidoc$V/webdoc \
|
||||
$EXTRA \
|
||||
install install-webdoc
|
||||
|
||||
Reference in New Issue
Block a user