X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc.mk;h=24423c53a6305c8458ed103a8ff6f16efc1675b1;hb=4fa44a3ae9c36222ccb460ba3ed24e46bf7c70ae;hp=56af0ee535493bf4b7e45af66b901ac2c9d25a53;hpb=926ae90b75cd3368049854898062a563e57c9ad2;p=ghc-hetmet.git diff --git a/ghc.mk b/ghc.mk index 56af0ee..24423c5 100644 --- a/ghc.mk +++ b/ghc.mk @@ -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 \ @@ -817,6 +824,7 @@ $(eval $(call bindist,root1,\ $(INSTALL_LIBEXECS) \ $(INSTALL_LIBEXEC_SCRIPTS) \ $(INSTALL_TOPDIRS) \ + $(INSTALL_TOPDIR_SCRIPTS) \ $(INSTALL_BINS) \ $(INSTALL_DOCS) \ $(INSTALL_LIBRARY_DOCS) \