14 lines
235 B
Bash
14 lines
235 B
Bash
#!/bin/bash
|
|
|
|
docs="$(dirname $(readlink -f $0))"
|
|
root="$(dirname ${docs})"
|
|
config="${docs}/config.ld"
|
|
|
|
cd "${root}"
|
|
|
|
# Clean old files
|
|
rm -rf "${docs}/reference"
|
|
|
|
# Create new files
|
|
ldoc -c "${config}" -d "${docs}/reference" "${root}"
|