summaryrefslogtreecommitdiff
path: root/doc/preprocess.sh
blob: c77bb6a81e8fb0aaaa07d68fdf4b381d045b1f9d (plain)
1
2
3
4
#! /usr/bin/env bash
# Run GCC preprocessor and delete empty lines
: ${CPP:=cpp}
"${CPP}" -DURI_DOXYGEN -DURI_NO_UNICODE -C -I ../include "$1" | sed -e '/^$/d' -e 's/COMMENT_HACK//g'