Date: Sun, 23 Apr 1995 10:29:02 +0200 From: "Philippe Charnier" <charnier@lirmm.fr> To: hackers@FreeBSD.org Subject: pb using maninstall Message-ID: <199504230829.KAA27599@lirmm.lirmm.fr>
next in thread | raw e-mail | index | archive | help
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 <bsd.subdir.mk> .include <bsd.prog.mk> Is .../usr.bin/ld a <bsd.subdir.mk> or a <bsd.prog.mk>? That is the question. The correct solution (IMHO) will be to create .../usr.bin/ld/ld and to deprecate .../usr.bin/ld as a <bsd.prog.mk> 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 ------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504230829.KAA27599>