From owner-freebsd-commit Sat Oct 21 07:27:43 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA02231 for freebsd-commit-outgoing; Sat, 21 Oct 1995 07:27:43 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA02207 for cvs-all-outgoing; Sat, 21 Oct 1995 07:27:35 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA02196 for cvs-gnu-outgoing; Sat, 21 Oct 1995 07:27:32 -0700 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA02174 ; Sat, 21 Oct 1995 07:27:22 -0700 Date: Sat, 21 Oct 1995 07:27:22 -0700 From: Bruce Evans Message-Id: <199510211427.HAA02174@freefall.freebsd.org> To: CVS-commiters, cvs-gnu Subject: cvs commit: src/gnu/usr.bin/man/whatis Makefile Sender: owner-commit@FreeBSD.org Precedence: bulk bde 95/10/21 07:27:20 Modified: gnu/usr.bin/man/apropos Makefile gnu/usr.bin/man/whatis Makefile Added: gnu/usr.bin/man Makefile.shprog Log: Rewrite and merge some bogus makefiles to create Makefile.shprog. Just include this in the old makefiles. I intended to fix only the private maninstall rule but found a lot of other bogons and bugs: - strong resistance to installing the program anywhere other than ${DESTDIR}/usr/bin (first, ../../Makefile.inc was not included. ../Makefile/inc was redundantly included instead. Second, /usr/bin was hard coded). - the owner, group and permissions were hard coded. - the man page was installed twice. - MANDEPEND wasn't necessary. - calculations to determine the obj directory weren't necessary. - there were unnecessary private rules for depend, rcsfreeze and tags. We don't support the rcsfreeze target. - there was an extra, bogus, rule for `all'. The final version uses suffix rules to eliminate the remaining verboseness involving directories (${.CURDIR}) and to potentially allow multiple shell programs in one directory.