projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add dist/ to $(PublishLocation)
[ghc-hetmet.git]
/
utils
/
Makefile
diff --git
a/utils/Makefile
b/utils/Makefile
index
b4a7ba1
..
a6f5f9a
100644
(file)
--- a/
utils/Makefile
+++ b/
utils/Makefile
@@
-1,7
+1,7
@@
TOP=..
include $(TOP)/mk/boilerplate.mk
TOP=..
include $(TOP)/mk/boilerplate.mk
-ifneq "$(BIN_DIST_NAME)" ""
+ifeq "$(MAKING_BIN_DIST)" "1"
# We're doing a binary-dist, descend into a subset of the dirs.
SUBDIRS = hp2ps unlit
else
# We're doing a binary-dist, descend into a subset of the dirs.
SUBDIRS = hp2ps unlit
else
@@
-22,7
+22,6
@@
ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
SUBDIRS += lndir
endif
SUBDIRS += lndir
endif
-
# Utils that we don't build by default:
# nofib-analyse
# Utils that we don't build by default:
# nofib-analyse
@@
-43,3
+42,10
@@
endif
# a Haskell compiler and if you want it.
include $(TOP)/mk/target.mk
# a Haskell compiler and if you want it.
include $(TOP)/mk/target.mk
+
+# genprimopcode is needed to boot in ghc/compiler...
+ifneq "$(BootingFromHc)" "YES"
+boot ::
+ $(MAKE) -C genprimopcode
+endif
+