File: makedoc.sh

package info (click to toggle)
libwebcam 0.2.5-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 836 kB
  • sloc: ansic: 5,861; xml: 1,574; sh: 57; makefile: 8
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"