Commit e0da731c authored by Ian Lynagh's avatar Ian Lynagh

Build fixes

parent 4eab9483
......@@ -12,8 +12,8 @@
driver/mangler_PERL_SRC = ghc-asm.lprl
driver/mangler_dist_PROG = $(GHC_MANGLER_PGM)
driver/mangler_dist_LIBEXEC = YES
driver/mangler_dist_TOPDIR = YES
$(eval $(call build-perl,driver/mangler,dist))
INSTALL_LIBEXEC_SCRIPTS += driver/mangler/dist/$(GHC_MANGLER_PGM)
INSTALL_TOPDIR_SCRIPTS += driver/mangler/dist/$(GHC_MANGLER_PGM)
......@@ -12,8 +12,8 @@
driver/split_PERL_SRC = ghc-split.lprl
driver/split_dist_PROG = $(GHC_SPLIT_PGM)
driver/split_dist_LIBEXEC = YES
driver/split_dist_TOPDIR = YES
$(eval $(call build-perl,driver/split,dist))
INSTALL_LIBEXEC_SCRIPTS += driver/split/dist/$(GHC_SPLIT_PGM)
INSTALL_TOPDIR_SCRIPTS += driver/split/dist/$(GHC_SPLIT_PGM)
......@@ -697,7 +697,8 @@ libraries/ghc-prim/dist-install/build/autogen/GHC/PrimopWrappers.hs: \
# Installation
install: install_packages install_libs install_libexecs install_headers \
install_libexec_scripts install_bins install_docs install_topdirs
install_libexec_scripts install_bins install_docs \
install_topdirs install_topdir_scripts
install_bins: $(INSTALL_BINS)
$(INSTALL_DIR) $(DESTDIR)$(bindir)
......@@ -739,6 +740,12 @@ install_libexecs: $(INSTALL_LIBEXECS)
$(INSTALL_PROGRAM) $(INSTALL_BIN_OPTS) $$i $(DESTDIR)$(ghclibexecdir); \
done
install_topdir_scripts: $(INSTALL_TOPDIR_SCRIPTS)
$(INSTALL_DIR) $(DESTDIR)$(topdir)
for i in $(INSTALL_TOPDIR_SCRIPTS); do \
$(INSTALL_SCRIPT) $(INSTALL_OPTS) $$i $(DESTDIR)$(topdir); \
done
install_topdirs: $(INSTALL_TOPDIRS)
$(INSTALL_DIR) $(DESTDIR)$(topdir)
for i in $(INSTALL_TOPDIRS); do \
......
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