File: makedoc.sh

package info (click to toggle)
libwebcam 0.2.4-1.1
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 824 kB
  • ctags: 686
  • sloc: ansic: 5,863; xml: 1,574; makefile: 69; sh: 57
file content (20 lines) | stat: -rwxr-xr-x 428 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

set -e

export SRCDIR="."
export DOCDIR="./doxygen-output"
export CONFIG="doxygen/libwebcam.cfg"

echo "Cleaning up output directory '$DOCDIR' ..."
rm -rf $DOCDIR
echo -e "Done.\n"

echo "Generating Doxygen documentation using configuration file '$CONFIG' ..."
mkdir -p $DOCDIR
doxygen $CONFIG
echo -e "Done.\n"

echo "Copying extra resource files ..."
cp -v doxygen/res/* $DOCDIR/libwebcam/html/
echo -e "Done.\n"