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