Move the definition of NONEXISTENT into the central cabal-flags.mk
authorIan Lynagh <igloo@earth.li>
Thu, 10 Jul 2008 13:52:13 +0000 (13:52 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 10 Jul 2008 13:52:13 +0000 (13:52 +0000)
libraries/Makefile
mk/cabal-flags.mk

index 65778ee..d7da0c1 100644 (file)
@@ -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 \
index 9b2ed2a..ad01deb 100644 (file)
@@ -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.