docgen: remove now unnecessary build.sh script

This commit is contained in:
Daniel Kolesa 2016-04-17 16:18:37 +01:00
parent a2e8f95015
commit e8e89db97f
2 changed files with 2 additions and 7 deletions

View File

@ -1,5 +0,0 @@
#!/bin/sh
if [ -z "$EFL_DOC_ROOT" ]; then
export EFL_DOC_ROOT="dokuwiki/data/pages"
fi
elua gendoc.lua -r "$EFL_DOC_ROOT" "$@"

View File

@ -1233,9 +1233,9 @@ getopt.parse {
if opts["v"] then
verbose = true
end
root_nspace = opts["n"] or "efl"
root_nspace = (not opts["n"] or opts["n"] == "") and "efl" or opts["n"]
if not opts["r"] or opts["r"] == "" then
error("no documentation root supplied")
opts["r"] = "dokuwiki/data/pages"
end
doc_root = path_join(opts["r"], nspace_to_path(root_nspace))
if not args[1] then