[GHC] #1095: make boot under includes/ doesn't run make depend
GHC
trac at galois.com
Fri Jan 12 12:56:32 EST 2007
#1095: make boot under includes/ doesn't run make depend
-----------------------------+----------------------------------------------
Reporter: kirsten | Owner:
Type: bug | Status: new
Priority: low | Milestone:
Component: Build System | Version: 6.6
Severity: minor | Keywords:
Difficulty: Unknown | Testcase:
Architecture: Unknown | Os: Unknown
-----------------------------+----------------------------------------------
In my working copy of GHC, I removed a file from includes/
({{{StgTicky.h}}}) and removed the dependencies on it.
Then I ran {{{autoreconf}}}, {{{./configure}}}, and finally {{{make}}} at
the top level.
I got:
{{{
$ make
make -C utils/mkdependC boot
make[1]: Entering directory `/home/krc/ghc-hacking/utils/mkdependC'
make[1]: Leaving directory `/home/krc/ghc-hacking/utils/mkdependC'
------------------------------------------------------------------------
== make boot -r;
in /home/krc/ghc-hacking/includes
------------------------------------------------------------------------
make[1]: *** No rule to make target `StgTicky.h', needed by
`mkDerivedConstants.o'. Stop.
}}}
I eventually figured out that I needed to run {{{make depend}}} in
{{{includes/}}}, and that updated the dependencies successfully. However,
shouldn't {{{make boot}}} in {{{includes}}} run {{{make depend}}}?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1095>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list