summaryrefslogtreecommitdiff
path: root/doc/preprocess.sh
diff options
context:
space:
mode:
Diffstat (limited to 'doc/preprocess.sh')
-rwxr-xr-xdoc/preprocess.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/preprocess.sh b/doc/preprocess.sh
new file mode 100755
index 0000000..a663cd1
--- /dev/null
+++ b/doc/preprocess.sh
@@ -0,0 +1,3 @@
+#! /bin/sh
+# Run GCC preprocessor and delete empty lines
+cpp -DURI_DOXYGEN -DURI_NO_UNICODE -C -I ../include $1 | sed -e '/^$/d' -e 's/COMMENT_HACK//g'