From owner-cvs-src@FreeBSD.ORG Sat Jul 23 14:23:31 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77EE416A423; Sat, 23 Jul 2005 14:23:31 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D49843D4C; Sat, 23 Jul 2005 14:23:31 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j6NENVxf017448; Sat, 23 Jul 2005 14:23:31 GMT (envelope-from netchild@repoman.freebsd.org) Received: (from netchild@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j6NENULF017447; Sat, 23 Jul 2005 14:23:30 GMT (envelope-from netchild) Message-Id: <200507231423.j6NENULF017447@repoman.freebsd.org> From: Alexander Leidinger Date: Sat, 23 Jul 2005 14:23:30 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src Makefile Makefile.inc1 ObsoleteFiles.inc UPDATING src/share/man/man7 build.7 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jul 2005 14:23:31 -0000 netchild 2005-07-23 14:23:30 UTC FreeBSD src repository Modified files: . Makefile Makefile.inc1 UPDATING share/man/man7 build.7 Added files: . ObsoleteFiles.inc Log: Add delete-old and delete-old-libs targets: - removes obsolete files/dirs or libraries. - works in interactive (default) and batch mode - respects DISTDIR - documented in UPDATING and build(7) The head of the file ObsoleteFiles.inc contains instructions how to add obsolete files/dirs/libs to the list. Obviously one should add obsolete files to this list, when he removes a file/dir/lib from the basesystem. Additionally add check-old target: - allows re@ to check if a file on the obsolete list resurfaces Design goals: - allows full control by the user (default interactive mode) - possibility of scripted removal of obsolete files (batch mode) - opt-in removal of files (explicit list of files) - seperate removal of libs (2 delete targets) Important design decissions: - structured list of files to remove instead of a plain text file: * allows to remove additional files if a NO_foo knob is specified without the need to change the targets (no NO_foo knob is respected yet) - not using mtree like NetBSD does: * mtree doesn't has an interactive mode Discussed on: arch (long ago), current (this year) Additional input from: re (hrs) Approved by: mentor (joerg) Revision Changes Path 1.322 +17 -12 src/Makefile 1.501 +92 -0 src/Makefile.inc1 1.1 +333 -0 src/ObsoleteFiles.inc (new) 1.419 +2 -0 src/UPDATING 1.31 +10 -1 src/share/man/man7/build.7