mirror of
https://github.com/AntumMT/mod-wdata.git
synced 2024-08-18 20:34:11 +02:00
13 lines
285 B
Bash
13 lines
285 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
DOCS="$(dirname $(readlink -f $0))"
|
||
|
ROOT="$(dirname ${DOCS})"
|
||
|
CONFIG="${DOCS}/config.ld"
|
||
|
|
||
|
cd "${ROOT}"
|
||
|
|
||
|
# Clean old files
|
||
|
rm -rf "${DOCS}/api.html" "${DOCS}/scripts" "${DOCS}/modules" "${DOCS}/source"
|
||
|
# Create new files
|
||
|
ldoc -c "${CONFIG}" -d "${DOCS}" -o "api" "${ROOT}"
|