On Sat, Dec 12, 2009 at 2:53 AM, Ben Walton <[email protected]> wrote: > Use the dynamic adm script capability in GAR. > > See docbook-style-xsl: > http://sourceforge.net/apps/trac/gar/browser/csw/mgar/pkg/docbook-style-xsl/trunk/Makefile > http://sourceforge.net/apps/trac/gar/browser/csw/mgar/pkg/docbook-style-xsl/trunk/files/CSWdocbookxsl.postinstall > > Just be careful to $$ when you need to use a shell variable as the > script is subject to regular Makefile expansion rules. Also, the > final product will be much less readable than a normal script. > > Is this what you're after?
Yes, this is it. I have some more questions: - At which stage (fetch, extract, install, merge, package) does the expansion take place? - What if the pkgname contains a dash? Will "define CSWfoo-bar_postinstall" work? _______________________________________________ maintainers mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/maintainers
