summaryrefslogtreecommitdiff
path: root/src/fix-install-headers.sh
blob: 49bade416edeff65dc3c5905fa848cf0b8363770 (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/"cvc4_export.h"/<cvc5\/cvc4_export.h>/' {} +
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback