File: make-all

package info (click to toggle)
pkg-haskell-tools 0.12.5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 160 kB
  • sloc: haskell: 691; sh: 591; perl: 308; makefile: 10
file content (10 lines) | stat: -rwxr-xr-x 451 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

# This is a wrapper around the haskell binary
# to be used when dht is run from the source directory

# This is not to be installed into the final package!

test -e $(dirname $0)/../dist/build/make-all/make-all     && exec $(dirname $0)/../dist/build/make-all/make-all "$@"
test -e $(dirname $0)/../dist-ghc/build/make-all/make-all && exec $(dirname $0)/../dist-ghc/build/make-all/make-all "$@"
echo 'Please run "cabal build" first!' >&2