xref: /aosp_15_r20/external/libxkbcommon/scripts/doxygen-wrapper (revision 2b949d0487e80d67f1fda82db69e101e761f8064)
1#!/bin/sh
2# Run doxygen such that the working directory is the source root.
3# This is needed for various reasons (e.g. relative references in md files).
4# Do not use directly.
5DOXYGEN="$1"
6DOXYFILE="$2"
7ABS_TOP_SRCDIR="$3"
8cd "$ABS_TOP_SRCDIR" && exec "$DOXYGEN" "$DOXYFILE"
9