version 1.9, 2011/02/07 04:23:09
|
version 1.10, 2011/02/07 19:44:14
|
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 |
rm $(make show-var VARNAME=WRKDIR)/.PLIST* # this deserves to be another target |
$ 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" |
"""]] |
"""]] |