Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  9 Jul 2006 14:35:56 +0200 (CEST)
From:      Ed Schouten <ed@fxq.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   standards/99960: [Patch] [make] Add -p flag
Message-ID:  <20060709123556.451E81734F@palm.hoeg.nl>
Resent-Message-ID: <200607091240.k69CeAp7066414@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060709123556.451E81734F>