summaryrefslogtreecommitdiff
path: root/src/scripts/elua/apps/gendoc.sh
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-05-21 15:43:02 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-05-21 15:44:30 +0200
commit34ef9c313989402d523951b2c20c7141d3bdce78 (patch)
tree04f2a7b1d285ad6f008791784dd89c3e6532ca7c /src/scripts/elua/apps/gendoc.sh
parentb5a7ee2ae4466e87d0e3a62aa7885ecda9e30aea (diff)
docs: remove obsolete docgen from the tree
This has long been replaced with tools/edocgen.git and most likely does not even work.
Diffstat (limited to '')
-rwxr-xr-xsrc/scripts/elua/apps/gendoc.sh38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/scripts/elua/apps/gendoc.sh b/src/scripts/elua/apps/gendoc.sh
deleted file mode 100755
index f14fcfda6e..0000000000
--- a/src/scripts/elua/apps/gendoc.sh
+++ /dev/null
@@ -1,38 +0,0 @@
1#!/bin/sh
2# a parallel doc generation script
3cd "$(dirname "$(realpath "$0")")";
4
5# exit on failure
6set -e
7
8gendoc() {
9 elua gendoc.lua --pass $@
10}
11
12gendoc rm $@
13gendoc ref $@
14
15# limit jobs otherwise stuff starts complaining in eldbus etc
16MAXJ=192
17
18I=0
19for cl in $(gendoc clist $@); do
20 gendoc "$cl" $@ &
21 I=$(($I + 1))
22 if [ $I -gt $MAXJ ]; then
23 I=0
24 # wait for the batch to finish
25 wait
26 fi
27done
28
29gendoc types $@ &
30gendoc vars $@ &
31
32# wait for all remaining stuff to finish
33wait
34
35# final results
36gendoc stats $@
37
38exit 0