cvs commit: src/usr.bin/make main.c make.1

Ed Schouten ed at FreeBSD.org
Wed Jul 30 21:18:49 UTC 2008


ed          2008-07-30 21:18:38 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/make         main.c make.1 
  Log:
  SVN rev 181021 on 2008-07-30 21:18:38Z by ed
  
  Add POSIX -p flag to make(1).
  
  This article [1] describes the -p flag for make(1):
  
          Write to standard output the complete set of macro definitions and
          target descriptions. The output format is unspecified.
  
  We already support a similar flag (-d g1), but unlike -p, it still
  executes commands. Our implementation just turns it into -d g1, but also
  sets flag `printGraphOnly', which will cause make(1) to skip execution.
  
  [1] http://www.opengroup.org/onlinepubs/009695399/utilities/make.html
  
  Reviewed by:    imp
  PR:             standards/99960
  
  Revision  Changes    Path
  1.169     +9 -3      src/usr.bin/make/main.c
  1.112     +10 -1     src/usr.bin/make/make.1


More information about the cvs-src mailing list