version 1.3, 2010/12/11 18:45:45
|
version 1.4, 2010/12/11 18:56:42
|
Line 8 only few of them are useful for regular
|
Line 8 only few of them are useful for regular
|
|
|
The following targets may be useful to invoke from keyboard: |
The following targets may be useful to invoke from keyboard: |
|
|
|
* "depends" to build and install dependencies |
* "fetch" to fetch distribution file(s) |
* "fetch" to fetch distribution file(s) |
* "checksum" to fetch and check distribution file(s) |
* "checksum" to fetch and check distribution file(s) |
* "extract" to look at unmodified source |
* "extract" to look at unmodified source |
Line 23 The following targets may be useful to i
|
Line 24 The following targets may be useful to i
|
* "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 |
|
|
|
Cleanup targets (in separate section because of importance): |
|
|
|
* "clean-depends" to remove work directories for dependencies |
|
* "clean" to remove work directory |
|
* "distclean" to remove distribution file(s) |
|
|
The following targets are useful in development and thus may be useful for an advanced user: |
The following targets are useful in development and thus may be useful for an advanced user: |
|
|
* "makesum" to fetch and generate checksum for distributed file(s) |
* "makesum" to fetch and generate checksum for distributed file(s) |
Line 33 The following targets are useful in deve
|
Line 40 The following targets are useful in deve
|
|
|
For example, package updating looks like this: |
For example, package updating looks like this: |
<pre> |
<pre> |
|
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 |