Commit 3b3fee83 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Move the definition of NONEXISTENT into the central cabal-flags.mk

parent 145c696c
......@@ -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 \
......
......@@ -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.
......
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