donau

Donation authority for GNU Taler (experimental)
Log | Files | Refs | Submodules | README | LICENSE

doxygen.meson.sh (422B)


      1 #!/bin/sh
      2 
      3 set -eu
      4 
      5 # This is more portable than `which' but comes with
      6 # the caveat of not(?) properly working on busybox's ash:
      7 existence()
      8 {
      9     type "$1" >/dev/null 2>&1
     10 }
     11 
     12 if ! existence doxygen; then
     13   echo "Doxygen not found"
     14   exit 1
     15 fi
     16 cd "${MESON_SOURCE_ROOT}/doc/doxygen"
     17 echo "PROJECT_NUMBER = ${PACKAGE_VERSION}" > version.doxy
     18 make full
     19 
     20 echo "Doxygen files generated into ${MESON_SOURCE_ROOT}/doc/doxygen!"