exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

doxygen.meson.sh (476B)


      1 #!/bin/sh
      2 set -eu
      3 
      4 # This is more portable than `which' but comes with
      5 # the caveat of not(?) properly working on busybox's ash:
      6 existence()
      7 {
      8     type "$1" >/dev/null 2>&1
      9 }
     10 
     11 if ! existence doxygen
     12 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 if [ "${1:-full}" = "fast" ]
     19 then
     20   make fast
     21 else
     22   make full
     23 fi
     24 
     25 echo "Doxygen files generated into ${MESON_SOURCE_ROOT}/doc/doxygen!"