Platform Team/Guide/Sweets Packaging: Difference between revisions
| Line 200: | Line 200: | ||
** ''SERVICE_SUMMARY'', summary from service.info file | ** ''SERVICE_SUMMARY'', summary from service.info file | ||
** macro also changes ''PACKAGE'' and ''VERSION'' variables with values from proper ''DIST_'', so it rewrites ''AC_INIT'' arguments(you have to use fake values for ''AC_INIT'' macro) | ** macro also changes ''PACKAGE'' and ''VERSION'' variables with values from proper ''DIST_'', so it rewrites ''AC_INIT'' arguments(you have to use fake values for ''AC_INIT'' macro) | ||
** '' | ** if ''[Library]'' section exists in service.info file, macro will | ||
*** | *** check if ''SERVICE_VERSION'' is a plain number | ||
*** | *** export ''SERVICE_AGE'', age from ''[Library]'' section | ||
*** export ''SERVICE_LIBRARY_VERSION'' which is libtool's -version-info parameter | |||
*** if ''service.pc.in'' presents in root directory, rename it to ''DIST_NAME''.pc.in | *** if ''service.pc.in'' presents in root directory, rename it to ''DIST_NAME''.pc.in | ||