standards/99960: [Patch] [make] Add -p flag
Ed Schouten
ed at fxq.nl
Sun Jul 9 12:40:12 UTC 2006
>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 at 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:
More information about the freebsd-standards
mailing list