Merge pull request #84 from redox-os/docgen

Add man pages
This commit is contained in:
Jeremy Soller 2017-10-14 08:50:56 -06:00 committed by GitHub
commit d50870cd8b
4 changed files with 13 additions and 5 deletions

7
.gitmodules vendored
View File

@ -1,8 +1,7 @@
[submodule "libc-artifacts"]
path = libc-artifacts
url = https://github.com/redox-os/libc-artifacts.git
branch = master
[submodule "pkgutils"]
path = pkgutils
url = https://github.com/redox-os/pkgutils.git
branch = master
[submodule "docgen"]
path = docgen
url = https://github.com/redox-os/docgen.git

View File

@ -11,9 +11,15 @@ export DEBUG=
if [ ! "$(uname -s)" = "Redox" ]
then
function pkg {
CC=cc cargo run --release --manifest-path "$ROOT/pkgutils/Cargo.toml" --bin pkg -- $@
}
function docgen {
CC=cc cargo run --release --manifest-path "$ROOT/docgen/Cargo.toml" --bin docgen -- $@
}
fi
function usage {
@ -342,6 +348,7 @@ function op {
else
build=release
fi
bins="$(find target/$TARGET/$build/ -maxdepth 1 -type f ! -name '*.*')"
if [ -n "$bins" ]
then
@ -356,6 +363,8 @@ function op {
fi
done
fi
docgen ../source ../stage/ref
fi
popd > /dev/null
;;

1
docgen Submodule

@ -0,0 +1 @@
Subproject commit 67119659a484dba78eb29c1081afc8f8ea7014c3

@ -1 +0,0 @@
Subproject commit c67b055af98c5f9d3afbe62479e8201f01f941cc