From owner-freebsd-hackers Sun Apr 23 04:36:35 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id EAA22491 for hackers-outgoing; Sun, 23 Apr 1995 04:36:35 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id EAA22485 for ; Sun, 23 Apr 1995 04:36:31 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id EAA04058; Sun, 23 Apr 1995 04:33:45 -0700 From: "Rodney W. Grimes" Message-Id: <199504231133.EAA04058@gndrsh.aac.dev.com> Subject: Re: pb using maninstall To: charnier@lirmm.fr (Philippe Charnier) Date: Sun, 23 Apr 1995 04:33:45 -0700 (PDT) Cc: hackers@FreeBSD.org In-Reply-To: <199504230829.KAA27599@lirmm.lirmm.fr> from "Philippe Charnier" at Apr 23, 95 10:29:02 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1743 Sender: hackers-owner@FreeBSD.org Precedence: bulk > > Hello, > > > in /usr/src/gnu/usr.bin/ld > > make maninstall > from ld : ld.1 > > make realinstall > from ldconfig : ldconfig.8 > from ldd : ldd.1 > > make install or afterinstall > from ldconfig : ldconfig.8 > from ldd : ldd.1 > from rtld : cd /usr/src/gnu/usr.bin/ld; install ld.1 > > > /usr/src/gnu/usr.bin/ld is particular because it contains a PROG (ld) > and contains subdirs containing others PROGs (ldconfig, ldd, rtld). > > I tried the following (BUT FAILED) because maninstall go into subdirs and > current dir but install don't see current dir. > > > =================================================================== > RCS file: /home2h/FreeBSD.cvsroot/src/gnu/usr.bin/ld/Makefile,v > retrieving revision 1.16 > diff -c -r1.16 Makefile > *** 1.16 1994/12/23 22:30:29 > --- Makefile 1995/04/22 16:13:49 > *************** > *** 16,19 **** > --- 16,20 ---- > > .PATH: $(.CURDIR)/$(MACHINE) > > + .include > .include bsd.prog.mk already contains the equivelent of bsd.subdir.mk, this patch is not the right thing to do. There is some brokenness in the .mk files that is not so easy to fix though do to overloaded target names :-(. maninstall is really an internal target that was not meant to be used by the user. You are abusing an undocumented ``feature'' and expecting it to do what *you* want it to do and not what the internals of the .mk files want it to do. Please read src/share/mk/bsd.README, there is no exported target called maninstall for a #include of -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD