mod-asm_spawneggs/docs/gendoc.sh

13 lines
268 B
Bash
Raw Normal View History

#!/bin/bash
DOCS="$(dirname $(readlink -f $0))"
ROOT="$(dirname ${DOCS})"
CONFIG="${DOCS}/config.ld"
cd "${ROOT}"
# Clean old files
2021-05-05 05:42:09 -07:00
rm -rf "${DOCS}/api.html" "${DOCS}/scripts" "${DOCS}/modules"
# Create new files
2021-05-05 05:42:09 -07:00
ldoc -c "${CONFIG}" -d "${DOCS}" -o "api" "${ROOT}"