[Installit-dev] Header file format

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Tue Sep 20 13:36:13 CEST 2005


Jannis Pohlmann wrote:
> Hi all.
> 
> I worked out a slightly enhanced version of the header file format. Have
> a look at it at http://installit.xfce.org/trac.cgi/wiki/HeaderFile
> 
> What's your opinion about it?

I'd suggest a different way for the stages:

<stages>
  <configure scheme="gnu-autoconf" />
  <build scheme="gnu-make" />
  <install scheme="gnu-make" />
</stages>

with hooks for the different schemes (e.g. pre and post hooks):

<pre-hook stage="install" scheme="gnu-autoconf">
  <cmd>echo narf > narf</cmd>
</pre-hook>

<hook stage="install" scheme="gnu-make">
  <cmd>${GNUMAKE} install</cmd>
</hook>

<post-hook stage="install" scheme="gnu-make">
  <cmd>${BSDINSTALL} -c foo ${PREFIX}/etc/foo</cmd>
</post-hook>

And some of the hooks are predefined hooks, while the maintainer is
still able to override existing hooks or introduce new hooks (well,
hooks is probably not the best term here, how about "action",
"pre-action" and "post-action"?).

> Regards,
> Jannis

Benedikt



More information about the Installit-dev mailing list