Commit b5b70101 authored by Oleg Grenrus's avatar Oleg Grenrus

Make cabal-install-prod/dev with -package-env

parent fa74c1b8
......@@ -62,11 +62,11 @@ Cabal/doc/buildinfo-fields-reference.rst : phony
# cabal-install.cabal file generation
cabal-install-prod : cabal-install/cabal-install.cabal.pp
runghc cabal-dev-scripts/src/Preprocessor.hs -o cabal-install/cabal-install.cabal cabal-install/cabal-install.cabal.pp
runghc -package-env=- cabal-dev-scripts/src/Preprocessor.hs -o cabal-install/cabal-install.cabal cabal-install/cabal-install.cabal.pp
git update-index --no-assume-unchanged cabal-install/cabal-install.cabal
cabal-install-dev : cabal-install/cabal-install.cabal.pp
runghc cabal-dev-scripts/src/Preprocessor.hs -o cabal-install/cabal-install.cabal -f CABAL_FLAG_LIB cabal-install/cabal-install.cabal.pp
runghc -package-env=- cabal-dev-scripts/src/Preprocessor.hs -o cabal-install/cabal-install.cabal -f CABAL_FLAG_LIB cabal-install/cabal-install.cabal.pp
@echo "tell git to ignore changes to cabal-install.cabal:"
@echo "git update-index --assume-unchanged cabal-install/cabal-install.cabal"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment