mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-11-26 03:28:24 -05:00
22 lines
305 B
Bash
Executable File
22 lines
305 B
Bash
Executable File
#!/bin/sh
|
|
|
|
OUT_DIR="${1}"
|
|
DOXYFILE="${2}"
|
|
DOXYGEN="${3}"
|
|
|
|
shift 3
|
|
|
|
if [ -e "VERSION" ]; then
|
|
VERSION=`cat "VERSION"`
|
|
else
|
|
VERSION=`git describe`
|
|
fi
|
|
|
|
$DOXYGEN - <<EOF
|
|
@INCLUDE = ${DOXYFILE}
|
|
INPUT = $@
|
|
HTML_TIMESTAMP = NO
|
|
PROJECT_NUMBER = $VERSION
|
|
OUTPUT_DIRECTORY = $OUT_DIR
|
|
EOF
|