This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
'make install-headers' is not complete
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: libc-alpha at sources dot redhat dot com, Roland McGrath <roland at gnu dot org>
- Date: Fri, 5 Jul 2002 14:48:51 -0400
- Subject: 'make install-headers' is not complete
... and hasn't been for at least eight years or so, as far as I can tell.
At least the relevant makefile fragments haven't changed much. The symptom
is that 'features.h' doesn't get installed. This may be exposed by some
recent change in GNU make....
My first guess at the problem was in Makerules:
install-%:: install-%-nosubdir ;
But the rule in the Makefile:
$(+subdir_targets): %: $(addsuffix /%,$(subdirs))
is apparently considered a double-colon rule. It also says that:
Each double-colon rule should specify commands; if it does not, an
implicit rule will be used if one applies.
My best guess is that this is causing only the one set of dependencies to be
considered and that we should be using single-colon rules; I don't know how
to write the %: bit without make considering it a double-colon rule, though.
Or it may be an outright bug in GNU make. Anyone have a better
understanding of this than I do?
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer