From owner-freebsd-hackers Sun Apr 23 01:29:10 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA16842 for hackers-outgoing; Sun, 23 Apr 1995 01:29:10 -0700 Received: from lirmm.lirmm.fr (lirmm.lirmm.fr [193.49.104.10]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id BAA16831 for ; Sun, 23 Apr 1995 01:29:06 -0700 Received: from lirmm.fr (baobab.lirmm.fr [193.49.106.14]) by lirmm.lirmm.fr (8.6.10/8.6.4) with ESMTP id KAA27599 for ; Sun, 23 Apr 1995 10:29:03 +0200 Message-Id: <199504230829.KAA27599@lirmm.lirmm.fr> To: hackers@FreeBSD.org Subject: pb using maninstall Date: Sun, 23 Apr 1995 10:29:02 +0200 From: "Philippe Charnier" 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 Is .../usr.bin/ld a or a ? That is the question. The correct solution (IMHO) will be to create .../usr.bin/ld/ld and to deprecate .../usr.bin/ld as a dir. These entries are also suspicious: ./libexec/bootpd make maninstall /usr/src/libexec/bootpd; install bootptab.5 /usr/src/libexec/bootpd; install bootpd.8 make install /usr/src/libexec/bootpd/tools/bootpef; install bootpef.8 /usr/src/libexec/bootpd/tools/bootptest; install bootptest.8 /usr/src/libexec/bootpd; install bootptab.5 /usr/src/libexec/bootpd; install bootpd.8 ./usr.sbin/named make maninstall /usr/src/usr.sbin/named; install named.8 make install /usr/src/usr.sbin/named/tools/named.reload; install named.reload.8 /usr/src/usr.sbin/named/tools/named.restart; install named.restart.8 /usr/src/usr.sbin/named/xfer; install named-xfer.8 /usr/src/usr.sbin/named; install named.8 ./usr.sbin/portmap make maninstall /usr/src/usr.sbin/portmap; install portmap.8 make install ===> pmap_set no man page ===> pmap_dump ditto /usr/src/usr.sbin/portmap; install portmap.8 I found a typo in bsd.prog.mk, see below .if defined(PROG) .if defined(SRCS) .else defined(PROG) <---- should be .else defined(SRCS) SRCS= ${PROG}.c .endif .if !defined(MAN1) && !defined(MAN2) && !defined(MAN3) && \ !defined(MAN4) && !defined(MAN5) && !defined(MAN6) && \ !defined(MAN7) && !defined(MAN8) && !defined(NOMAN) MAN1= ${PROG}.1 .endif .endif -------- -------- Philippe Charnier charnier@lirmm.fr LIRMM, 161 rue Ada, 34392 Montpellier cedex 5 -- France ------------------------------------------------------------------------