From 867684d3af068aa10ebbc72cdb76b94b01445c7f Mon Sep 17 00:00:00 2001 From: Kei Hibino Date: Sun, 15 Mar 2020 17:44:58 +0900 Subject: [PATCH] devel: add v1- prefix to each cabal calls. --- devel/GNUmakefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/devel/GNUmakefile b/devel/GNUmakefile index ccf14355..72c11b1d 100644 --- a/devel/GNUmakefile +++ b/devel/GNUmakefile @@ -7,17 +7,17 @@ ncpu = $(shell cat /proc/cpuinfo | egrep '^processor' | wc -l) jobs = --jobs=$(shell expr $(ncpu) '*' 3 '/' 4) build: - cabal configure -O0 --enable-tests - cabal build $(jobs) --ghc-option=-Wall - cabal haddock $(haddock_opt) - cabal test + cabal v1-configure -O0 --enable-tests + cabal v1-build $(jobs) --ghc-option=-Wall + cabal v1-haddock $(haddock_opt) + cabal v1-test haddock: - cabal configure - cabal haddock $(haddock_opt) + cabal v1-configure + cabal v1-haddock $(haddock_opt) check: - cabal check + cabal v1-check wc: make clean-hs @@ -25,7 +25,7 @@ wc: clean: make clean-hs - cabal clean + cabal v1-clean [ ! -d .debian-build ] || rm -r .debian-build [ ! -d .stack-work ] || rm -r .stack-work test ! -d src || find src \( -name '*.o' -o -name '*.hi' -o -name '*.dyn_o' -o -name '*.dyn_hi' \) -exec rm {} \;