Changes

Jump to navigation Jump to search
no edit summary
Line 126: Line 126:  
  '''binding''' = [prepend|append|replace] <variable-name> [<insert-text-to-prepend-variable-value>] [; ...]
 
  '''binding''' = [prepend|append|replace] <variable-name> [<insert-text-to-prepend-variable-value>] [; ...]
   −
The environment variables 0install should export to the process that uses this sweet. This makes sense only for multiple-activity-serving dependencies (like libraries), not for the activity itself.
+
The environment variables 0install should export to the process that uses this sweet.
    
  '''requires''' = <dependency> [(=|>=|<) <version>] [; ...]
 
  '''requires''' = <dependency> [(=|>=|<) <version>] [; ...]
Line 180: Line 180:  
  '''requires''' = <dependency-name> [(=|>=|<) <version>] [; ...]
 
  '''requires''' = <dependency-name> [(=|>=|<) <version>] [; ...]
   −
This defines what [[Platform_Team/Guide/Packaging#Package_names|dependencies]] should be present before building the sweet from sources. Note that ''requires'' from [[#.5BComponent.5D|[Component]]] sections are not auto included in the build-time dependencies.
+
Optional. This defines what [[Platform_Team/Guide/Packaging#Package_names|dependencies]] should be present before building the sweet from sources. Note that ''requires'' from [[#.5BComponent.5D|[Component]]] sections are not auto included in the build-time dependencies.
 +
 
 +
'''clean''' = <shell-command>
 +
 
 +
Optional. Cleanup build environment before running ''configure'' command.
    
  '''configure''' = <shell-command>
 
  '''configure''' = <shell-command>
   −
Shell command to configure sources before building, e.g., invoking the configure script in auto-tools-based projects. If the source code does not require a configuration stage, this option could be omitted.
+
Optional. Shell command to configure sources before building, e.g., invoking the configure script in auto-tools-based projects. If the source code does not require a configuration stage, this option could be omitted.
    
  '''make''' = <shell-command>
 
  '''make''' = <shell-command>
   −
Shell command to make binaries from sources. If the source code does not require a making stage, this option could be omitted.
+
Optional. Shell command to make binaries from sources. If the source code does not require a making stage, this option could be omitted.
    
  '''install''' = <shell-command>
 
  '''install''' = <shell-command>
   −
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.
+
Required. 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.
    
=== [Source] ===
 
=== [Source] ===

Navigation menu