Changeset 1056 for spec/trunk/SPECS/bwwres/macros.bww
- Timestamp:
- Mar 12, 2017, 11:19:21 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/bwwres/macros.bww
r1055 r1056 17 17 # this is the desired title for the app or the exe, if this parameter is left 18 18 # out, we use %{summary} as the title 19 # 20 # parameter (-i) 21 # Icon for the exe. If this parameter is left out, no icon is added 22 # The icon has to be copied to /@unixroot/usr/share/os2/icons during installation 19 23 20 24 %__bww_commonobjects()\ … … 26 30 %{nil} 27 31 28 %bww_folder(e:r:s:t: )\32 %bww_folder(e:r:s:t:i:)\ 29 33 %{-t:%global __bww_title %{-t*}}%{!-t:%global __bww_title %{summary}}\ 30 34 %if %{undefined __bww_folder_done}\ … … 33 37 %endif\ 34 38 %define __bww_exeTitle %{!-t:%{__bww_title}}%{-t:%{-t*}}\ 35 %{-e:%{expand:%wps_object_create %{-e*}_EXE:WPProgram|%{__bww_exeTitle}|<%{name}_FOLDER>|EXENAME=((%_bindir/%{-e*}.exe));STARTUPDIR=((%_bindir));TITLE=%{__bww_exeTitle};}}\ 39 %define __bww_exeIcon %{!-i:}%{-i:ICONFILE=((/@unixroot/usr/share/os2/icons/%{-i*}));}\ 40 %{-e:%{expand:%wps_object_create %{-e*}_EXE:WPProgram|%{__bww_exeTitle}|<%{name}_FOLDER>|EXENAME=((%_bindir/%{-e*}.exe));STARTUPDIR=((%_bindir));TITLE=%{__bww_exeTitle};%{__bww_exeIcon}}}\ 36 41 %{-r:%{expand:%wps_object_create %{name}_README:WPShadow|Readme|<%{name}_FOLDER>|SHADOWID=((%_defaultdocdir/%{name}-%{version}/%{-r*}))}}\ 37 42 %{-s:%{-e:%{expand:%wps_object_create %{name}_SHADOW:WPShadow|%{__bww_exeTitle}|<WP_DESKTOP>|SHADOWID=<%{-e*}_EXE>;}}}\
Note:
See TracChangeset
for help on using the changeset viewer.