#1810: install-sh copies only a single header file to $(BIN_DIST_DIR)/includes/
-----------------------+----------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.8
Severity: normal | Keywords:
Difficulty: Unknown | Os: Solaris
Testcase: | Architecture: x86
-----------------------+----------------------------------------------------
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).
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1810>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs