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: mycommand=@bindir@/foo Is it possible to preprocess a postinstall file like that? At which stage should it be done?