Commit dd3173d5 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Makefile tweak, setup depends on Setup.hs

parent ff16b7b7
...@@ -25,7 +25,7 @@ DIST_STAMP=$(DISTLOC)/Cabal-$(VERSION).tar.gz ...@@ -25,7 +25,7 @@ DIST_STAMP=$(DISTLOC)/Cabal-$(VERSION).tar.gz
COMMA=, COMMA=,
VERSION_VALUE=$(subst .,$(COMMA),$(VERSION)) VERSION_VALUE=$(subst .,$(COMMA),$(VERSION))
setup: $(SOURCES) setup: $(SOURCES) Setup.hs
-mkdir -p dist/setup -mkdir -p dist/setup
$(HC) $(GHCFLAGS) --make -DCABAL_VERSION=$(VERSION_VALUE) -i. -odir dist/setup -hidir dist/setup Setup.hs -o setup $(HC) $(GHCFLAGS) --make -DCABAL_VERSION=$(VERSION_VALUE) -i. -odir dist/setup -hidir dist/setup Setup.hs -o setup
......
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