install-sh copies only a single header file to $(BIN_DIST_DIR)/includes/
During "gmake binary-dist" only the first header file (i.e. Block.h) is copied to the target directory by includes/Makefile:
# Install all header files
#
# Note: we keep per-platform copies of all the include files
# (ditto for interface files). This is not *really* needed, but
# it gives (perhaps) a cleaner binary dist structure..might change.
#
INSTALL_HEADERS += $(H_FILES) $(H_CONFIG) $(H_PLATFORM)
binary-dist:
$(INSTALL_DIR) $(BIN_DIST_DIR)/includes
$(INSTALL_DATA) Makefile $(BIN_DIST_DIR)/includes/
$(INSTALL_DATA) $(INSTALL_HEADERS) $(BIN_DIST_DIR)/includes/
Installation of such an incomplete distribution fails with:
/home/maeder/haskell/pc-solaris/ghc-6.8.0.20071025/ghc-6.8.0.20071025/utils/mkdirhier/mkdirhier /home/maeder/haskell/pc-solaris/bin
gmake -C includes install DOING_BIN_DIST=YES
gmake[1]: Entering directory `/home/maeder/haskell/pc-solaris/ghc-6.8.0.20071025/ghc-6.8.0.20071025/includes'
gmake[1]: *** No rule to make target `ghcautoconf.h', needed by `install'. Stop.
gmake[1]: Leaving directory `/home/maeder/haskell/pc-solaris/ghc-6.8.0.20071025/ghc-6.8.0.20071025/includes'
gmake: *** [install] Error 2
I suppose, this fails on other architectures, too. Because install-sh claims to only copy a single source (although cp can of course copy several files).
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.8 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | Christian.Maeder@dfki.de |
| Operating system | |
| Architecture | x86 |