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

version 1.9, 2011/02/07 04:23:09 version 1.12, 2012/05/03 01:33:02
Line 23  The following targets may be useful to i Line 23  The following targets may be useful to i
 * **package-install** to install package and build binary package  * **package-install** to install package and build binary package
 * **install** to install package  * **install** to install package
 * **bin-install** to attempt to skip building from source and use pre-built binary package  * **bin-install** to attempt to skip building from source and use pre-built binary package
   * **show-depends** print dependencies for building
   * **show-options** print available options from options.mk
   
 Cleanup targets (in separate section because of importance):  Cleanup targets (in separate section because of importance):
   
Line 44  The following targets are useful in deve Line 46  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.12


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