Line 193: |
Line 193: |
| | | |
| Shell command to place files that are ready for distribution into the {{Code|%(DESTDIR)s}} directory. If ''install'' is missing, the entire {{Code|%(BUILDDIR)s}} (excepting temporary files) will be copied. | | Shell command to place files that are ready for distribution into the {{Code|%(DESTDIR)s}} directory. If ''install'' is missing, the entire {{Code|%(BUILDDIR)s}} (excepting temporary files) will be copied. |
− |
| |
− | The rest of options make sense only while local building.
| |
− |
| |
− | '''cleanup''' = <shell-command>
| |
− |
| |
− | Make {{Code|%(BUILDDIR)s}} ready to start new, clean, build. For example, for autotools based projects, it could be {{Code|make distclean; ./autogen.sh}}.
| |
− |
| |
− | '''implement''' = <shell-command>
| |
− |
| |
− | An analog of ''install'' command that will be used, if present, instead of ''install'' while building the sweet in the local environment.
| |
| | | |
| === [Source] === | | === [Source] === |
Line 233: |
Line 223: |
| Options defined within ''[Build]'' section: | | Options defined within ''[Build]'' section: |
| | | |
− | * ''BUILDDIR'' where the build happens, directory contains untarred sources bundle | + | * ''BUILDDIR'' where the build happens, directory contains untarred sources bundle. This variable can be used in ''binding'' options, while local build it will point environment variables to the root of sources directory. |
| * ''DESTDIR'' temporary path to place installed files before bundling them | | * ''DESTDIR'' temporary path to place installed files before bundling them |
| * ''PREFIX'' should be used as installation prefix path, e.g., for {{Code|./configure --prefix}} | | * ''PREFIX'' should be used as installation prefix path, e.g., for {{Code|./configure --prefix}} |