Excerpts from Maciej (Matchek) Blizinski's message of Fri Dec 11 20:27:14 -0500 
2009:
> Suppose I have a file CSWfoo.postinstall, which has some variables
> which need to be substituted before the file can be shipped.
> Something along the lines of:
> 
> mycomma...@bindir@/foo

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?

Thanks
-Ben
-- 
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu
Contact me to arrange for a CAcert assurance meeting.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
maintainers mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/maintainers

Reply via email to