Debian Codegraph @

config_pkg

raw
1 #!/bin/sh
2
3 config_lwt () {
4 if ocamlfind query lwt_ppx >/dev/null 2>&1
5 then
6 patch $RECOVER --no-backup-if-mismatch -r - -f -p1 < patches/use-lwt_ppx.patch
7 fi
8 }
9
10 case $1 in
11 --distclean)
12 RECOVER=-R config_lwt
13 exit 0
14 ;;
15 *)
16 config_lwt
17 ;;
18 esac