[BACK]Return to bsd.subdir.mk CVS log [TXT][DIR] Up to [local] / src / share / mk

Diff for /src/share/mk/bsd.subdir.mk between version 1.12 and 1.13

version 1.12, 2004/01/18 23:44:51 version 1.13, 2005/01/19 18:01:51
Line 40 
Line 40 
                 if [ X$${skipdir} = X -o X$${subentry} != X ]; then \                  if [ X$${skipdir} = X -o X$${subentry} != X ]; then \
                         echo "===> $${_nextdir_}"; \                          echo "===> $${_nextdir_}"; \
                         cd ${.CURDIR}/$${_newdir_}; \                          cd ${.CURDIR}/$${_newdir_}; \
                         ${MAKE} ${.MAKEFLAGS} SKIPDIR="$${subskipdir}" \                          ${MAKE} SKIPDIR="$${subskipdir}" \
                             $${_makefile_spec_} _THISDIR_="$${_nextdir_}" \                              $${_makefile_spec_} _THISDIR_="$${_nextdir_}" \
                             ${.TARGET:S/realinstall/install/:S/.depend/depend/}; \                              ${.TARGET:S/realinstall/install/:S/.depend/depend/}; \
                 fi); \                  fi); \
Line 58 
Line 58 
         fi; \          fi; \
         echo "===> $${_newdir_}"; \          echo "===> $${_newdir_}"; \
         cd ${.CURDIR}/$${_newdir_}; \          cd ${.CURDIR}/$${_newdir_}; \
         ${MAKE} ${.MAKEFLAGS} $${_makefile_spec_} _THISDIR_="$${_newdir_}" all          ${MAKE} $${_makefile_spec_} _THISDIR_="$${_newdir_}" all
 .endif  .endif
   
 .if !target(install)  .if !target(install)
 .if !target(beforeinstall)  .  if !target(beforeinstall)
 beforeinstall:  beforeinstall:
 .endif  .  endif
 .if !target(afterinstall)  .  if !target(afterinstall)
 afterinstall:  afterinstall:
 .endif  .  endif
 install: maninstall  install: maninstall
 maninstall: afterinstall  maninstall: afterinstall
 afterinstall: realinstall  afterinstall: realinstall
 realinstall: beforeinstall _SUBDIRUSE  realinstall: beforeinstall _SUBDIRUSE
 .endif  .endif
   
 .if !target(all)  
 all: _SUBDIRUSE  
 .endif  
   
 .if !target(clean)  .for t in all clean cleandir includes depend lint obj tags regress
 clean: _SUBDIRUSE  .  if !target($t)
 .endif  $t: _SUBDIRUSE
   .  endif
   .endfor
   
 .if !target(cleandir)  
 cleandir: _SUBDIRUSE  
 .endif  
   
 .if !target(includes)  
 includes: _SUBDIRUSE  
 .endif  
   
 .if !target(depend)  
 depend: _SUBDIRUSE  
 .endif  
   
 .if !target(lint)  
 lint: _SUBDIRUSE  
 .endif  
   
 .if !target(obj)  
 obj: _SUBDIRUSE  
 .endif  
   
 .if !target(tags)  
 tags: _SUBDIRUSE  
 .endif  
   
 .if !target(regress)  
 regress: _SUBDIRUSE  
 .endif  
   
 .if !defined(BSD_OWN_MK)  .if !defined(BSD_OWN_MK)
 .include <bsd.own.mk>  .  include <bsd.own.mk>
 .endif  .endif

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13