Diff for /wikisrc/pkgsrc/targets.mdwn between versions 1.9 and 1.11

version 1.9, 2011/02/07 04:23:09 version 1.11, 2011/08/20 12:27:02
Line 44  The following targets are useful in deve Line 44  The following targets are useful in deve
 For example, package updating looks like this:  For example, package updating looks like this:
   
 [[!template id=programlisting text="""  [[!template id=programlisting text="""
 $ su root -c "make depends clean-depends clean" # to catch new dependencies  su root -c "make depends clean-depends clean" # to catch new dependencies
 $ rm -f distinfo && su root -c "make makesum clean" && make makepatchsum  rm -f distinfo && su root -c "make makesum clean" && make makepatchsum
 $ make clean && make stage-install # build  make clean && make stage-install # build
 # modify patches  # modify patches
 $ make makepatchsum # and build again, or  make makepatchsum # and build again, or
 $ make makepatchsum && make clean && make patch # until all patches apply, if they failed at first  make makepatchsum && make clean && make patch # until all patches apply, if they failed at first
 $ make print-PLIST | diff -u PLIST -  make print-PLIST | diff -u PLIST -
 # modify PLIST  # modify PLIST
 $ rm $(make show-var VARNAME=WRKDIR)/.PLIST* # this deserves to be another target  make install-clean # to remove cached PLISTs and "installation done" marker
 $ make stage-install  make stage-install
 # modify PLIST again or build again  # modify PLIST again or build again
 $ make test # just to check for regressions  make test # just to check for regressions
 $ su root -c "make package deinstall bin-install" # or  su root -c "make package deinstall bin-install" # or
 $ su root -c "make package replace"  su root -c "make package replace"
 """]]  """]]

Removed from v.1.9  
changed lines
  Added in v.1.11


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb