ghc-dup: c3db8db960be3c3fb7d42be0fca6dc0d7177ccd8
1: TOP = .
2:
3: # If we're cleaning then we don't want to do all the GHC detection hardwork,
4: # and we certainly don't want to fail if GHC etc can't be found!
5: # However, we can't just put this conditional in boilerplate.mk, as
6: # some of the tests have a "clean" makefile target that relies on GHC_PKG
7: # being defined.
8: ifneq "$(MAKECMDGOALS)" "clean"
9: ifneq "$(MAKECMDGOALS)" "distclean"
10: ifneq "$(MAKECMDGOALS)" "maintainer-clean"
11:
12: include $(TOP)/mk/boilerplate.mk
13:
14: boot:
15: $(MAKE) -C $(TOP)/timeout all
16:
17: all:
18: $(MAKE) -C $(TOP)/tests all
19:
20: endif
21: endif
22: endif
23:
24: clean distclean maintainer-clean:
25: $(MAKE) -C $(TOP)/timeout $@
26: $(RM) -f mk/*.o mk/*.hi mk/ghc-config mk/ghc-config.exe mk/ghcconfig*.mk
Generated by git2html.