git.iko.soy/typeable/cabal2nix
on master help sign in
GNUmakefile: add a re-configure target
aedba02Peter Simons
GNUmakefile+5−1
@@ -1,12 +1,16 @@
1# GNUmakefile
1# GNUmakefile
2
2
3−.PHONY: all configure build check haddock hlint clean
3+.PHONY: all configure re-configure build check haddock hlint clean
4
4
5all:: check
5all:: check
6
6
7configure:: cabal2nix.cabal
7configure:: cabal2nix.cabal
8 @cabal -v0 configure --ghc-option=-j --enable-tests
8 @cabal -v0 configure --ghc-option=-j --enable-tests
9
9
10+re-configure::
11+ @rm -f cabal2nix.cabal
12+ @$(MAKE) configure
13+
10build:: configure
14build:: configure
11 @cabal build -j
15 @cabal build -j
12
16