From owner-freebsd-standards@FreeBSD.ORG Sun Jul 9 12:40:12 2006 Return-Path: X-Original-To: freebsd-standards@hub.freebsd.org Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1443C16A4DE for ; Sun, 9 Jul 2006 12:40:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29D2D43D49 for ; Sun, 9 Jul 2006 12:40:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k69CeBfG066415 for ; Sun, 9 Jul 2006 12:40:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k69CeAp7066414; Sun, 9 Jul 2006 12:40:10 GMT (envelope-from gnats) Resent-Date: Sun, 9 Jul 2006 12:40:10 GMT Resent-Message-Id: <200607091240.k69CeAp7066414@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-standards@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ed Schouten Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D41B016A4DE for ; Sun, 9 Jul 2006 12:35:57 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [83.98.131.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C02F43D49 for ; Sun, 9 Jul 2006 12:35:57 +0000 (GMT) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 451E81734F; Sun, 9 Jul 2006 14:35:56 +0200 (CEST) Message-Id: <20060709123556.451E81734F@palm.hoeg.nl> Date: Sun, 9 Jul 2006 14:35:56 +0200 (CEST) From: Ed Schouten To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: standards/99960: [Patch] [make] Add -p flag X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ed Schouten List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2006 12:40:12 -0000 >Number: 99960 >Category: standards >Synopsis: [Patch] [make] Add -p flag >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-standards >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 09 12:40:10 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Ed Schouten >Release: FreeBSD 5.5-STABLE i386 >Organization: >Environment: System: FreeBSD palm.hoeg.nl 5.5-STABLE FreeBSD 5.5-STABLE #0: Mon May 29 10:55:24 CEST 2006 root@palm.hoeg.nl:/usr/obj/usr/src/sys/PALM i386 >Description: According to http://people.freebsd.org/~schweikh/posix-utilities.html, the only missing flag for the make(1) utility is -p. When make is run with -p, it only processes the input makefiles, but only dumps its processed contents. >How-To-Repeat: Run `make -p`. Illegal option... :-) >Fix: A patch is available at: http://g-rave.nl/junk/freebsd-make-graph-posix.diff When applied, the following commands allow you to rebuild make(1): $ cd /usr/src/usr.bin/make $ make -p > tmpMakefile $ make -f tmpMakefile all install clean $ rm tmpMakefile The -p switch just clones `-d g1` and skips processing. >Release-Note: >Audit-Trail: >Unformatted: