Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jul 2004 08:14:42 +0000 (UTC)
From:      Oliver Eikemeier <eik@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/make make.1 parse.c
Message-ID:  <200407100814.i6A8Eh0r018320@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
eik         2004-07-10 08:14:42 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_4)
    usr.bin/make         make.1 parse.c 
  Log:
  MFC of the new variable `.MAKEFILE_LIST'. Add the following
  to make.conf(5) to have a `deptree' target in all makefiles:
  
  .NOTMAIN: deptree
  deptree:
          @echo 'Dependency tree for ${MAKE} in ${.CURDIR}:'
          @l=1; \
          for d in ${.MAKEFILE_LIST}; do \
                  case "$$d" in \
                  ..)     l=$$(($$l-2));; \
                  /*)     printf '%-*s%s\n' $$l '' "`realpath \"$$d\"`"; \
                          l=$$(($$l+2));; \
                  *)      printf '%-*s%s\n' $$l '' \
                                  "`realpath \"${.OBJDIR}/$$d\"`"; \
                          l=$$(($$l+2));; \
                  esac \
          done
  
  Revision   Changes    Path
  1.29.2.16  +19 -2     src/usr.bin/make/make.1
  1.22.2.2   +10 -1     src/usr.bin/make/parse.c



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