Add Documentation/git-{import,export}.do scripts.
These export and import, respectively, the generated man pages to/from the git branch called 'man'. You can use it to retrieve the .1 files if you don't have a working pandoc.
This commit is contained in:
parent
bab7b40a49
commit
ca7a1de4e3
2 changed files with 23 additions and 0 deletions
8
Documentation/git-import.do
Normal file
8
Documentation/git-import.do
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
exec >&2
|
||||
if git show-ref refs/heads/man >/dev/null; then
|
||||
(cd .. && git archive man) | tar -xvf -
|
||||
else
|
||||
(cd .. && git archive origin/man) | tar -xvf -
|
||||
fi
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue