summaryrefslogtreecommitdiff
path: root/src/fix-install-headers.sh
blob: 083cec85279704ac60256e2305be03a5b7271a91 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env bash

set -e -o pipefail

dir="$DESTDIR$1"

find "$dir/include/cvc5/" -type f \
  -exec sed -i'' -e 's/include.*"api\/cpp\/\(.*\)"/include <cvc5\/\1>/' {} +

find "$dir/include/cvc5/" -type f \
  -exec sed -i'' -e 's/"cvc5_export.h"/<cvc5\/cvc5_export.h>/' {} +
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback