[commit: ghc] wip/jenkins: Introduce echo! make target (2824fcf)
git at git.haskell.org
git at git.haskell.org
Sat Jun 17 13:50:02 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/jenkins
Link : http://ghc.haskell.org/trac/ghc/changeset/2824fcf453d99df16076117ab19e490fe738629b/ghc
>---------------------------------------------------------------
commit 2824fcf453d99df16076117ab19e490fe738629b
Author: Ben Gamari <ben at smart-cactus.org>
Date: Sun Jun 4 10:27:24 2017 -0400
Introduce echo! make target
This is analogous to show!
>---------------------------------------------------------------
2824fcf453d99df16076117ab19e490fe738629b
Makefile | 4 ++++
ghc.mk | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/Makefile b/Makefile
index 9b888e7..4863cd7 100644
--- a/Makefile
+++ b/Makefile
@@ -167,6 +167,10 @@ $(filter clean_%, $(MAKECMDGOALS)) : clean_% :
bootstrapping-files show echo:
$(MAKE) --no-print-directory -f ghc.mk $@
+.PHONY: echo!
+echo!:
+ @$(MAKE) --no-print-directory -f ghc.mk echo NO_INCLUDE_PKGDATA=YES
+
.PHONY: show!
show!:
$(MAKE) --no-print-directory -f ghc.mk show NO_INCLUDE_PKGDATA=YES
diff --git a/ghc.mk b/ghc.mk
index 3fafcf0..dd9d8b6 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -260,6 +260,10 @@ ifeq "$(findstring show,$(MAKECMDGOALS))" "show"
NO_INCLUDE_DEPS = YES
# We want package-data.mk for show
endif
+ifeq "$(findstring echo,$(MAKECMDGOALS))" "echo"
+NO_INCLUDE_DEPS = YES
+# We want package-data.mk for show
+endif
# -----------------------------------------------------------------------------
# Ways
More information about the ghc-commits
mailing list