anastasis-gtk

Demonstrator GUI for Anastasis
Log | Files | Refs | README | LICENSE

doxygen.meson.sh (508B)


      1 #!/bin/sh
      2 set -e
      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; then
     12   echo "Doxygen not found"
     13   exit 1
     14 fi
     15 cd "${MESON_SOURCE_ROOT}/doc/doxygen"
     16 
     17 # PACKAGE_VERSION is set by the 'doxygen' run_target in meson.build; the
     18 # makefile falls back to scripts/get_version.sh when it is not set.
     19 make all
     20 
     21 echo "Doxygen files generated into ${MESON_SOURCE_ROOT}/doc/doxygen/html!"