dip

old school recipes for janitorial snafu.
git clone git://git.ricketyspace.net/dip.git
Log | Files | Refs

commit bd67daa06c97d957686be1b50a51608981819d08
parent d3d6ba94b43967c080d943c761e37a978fb15436
Author: rsiddharth <s@ricketyspace.net>
Date:   Thu,  8 Nov 2018 18:22:09 -0500

Makefile: Add cabal.

Thanks https://deftly.net/posts/2017-10-12-using-cabal-on-openbsd.html

Diffstat:
Makefile | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -9,3 +9,12 @@ usrbin: rsync -a ${USRBIN_PREFIX}/${f} /${USRBIN_PREFIX}/${f} .endfor .PHONY: usrbin + +# Provision cabal build dir. +CABAL_BDIR=/usr/local/cabal/build +${CABAL_BDIR}: + mkdir -p ${CABAL_BDIR} + chown -R s:wheel `dirname ${CABAL_BDIR}` + +cabal: ${CABAL_BDIR} +.PHONY: cabal