From 3b3fee836284d09422562e1df88febcfb3200eb9 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Thu, 10 Jul 2008 13:52:13 +0000 Subject: [PATCH] Move the definition of NONEXISTENT into the central cabal-flags.mk --- libraries/Makefile | 6 ------ mk/cabal-flags.mk | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libraries/Makefile b/libraries/Makefile index 65778ee..d7da0c1 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -235,12 +235,6 @@ configure: $(foreach SUBDIR,$(SUBDIRS), \ # We should depend on %/%.cabal here (and in other rules), but make # makes that difficult. -ifeq "$(Windows)" "YES" -NONEXISTENT=c:/NONEXISTENT -else -NONEXISTENT=/NONEXISTENT -endif - ALL_CONFIGURE_FLAGS = \ $(INSTALL_CONFIGURE_FLAGS) \ --haddock-options="--use-contents=../index.html \ diff --git a/mk/cabal-flags.mk b/mk/cabal-flags.mk index 9b2ed2a..ad01deb 100644 --- a/mk/cabal-flags.mk +++ b/mk/cabal-flags.mk @@ -35,6 +35,12 @@ endif COMMON_CONFIGURE_FLAGS += $(FLAGGED_CONFIGURE_ARGS) \ --configure-option=--with-cc=$(CC) +ifeq "$(Windows)" "YES" +NONEXISTENT=c:/NONEXISTENT +else +NONEXISTENT=/NONEXISTENT +endif + # We put non-existant paths in when configuring things that we plan to # install, as we require that builds don't depend on these paths when # making bindists. -- 1.7.10.4