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 (459B)


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