Hello Ralf,
Ralf Wildenhues wrote:
* Jose-Marcio wrote on Mon, Jul 21, 2008 at 04:46:29PM CEST:
Well, one reason I'm hesitant is that I think most such pre- or post-
actions are pretty system-dependent, more so than other tasks routinely
done in makefiles. For example, they would
The sequence of operations are : stop the MTA, stop the
filter, make upgrade, restarts the filter and restarts the MTA. It's
pratical and less error prone to have a single command to launch
instead of typing all them. Either way, all this can be done with a
small shell script.
Regards,
Jose-Marcio
dump databases, make install,
recreate databases (if database format changed), and relaunch
the daemon.
Currently, I've defined a new target (upgrade) which depends
on :
upgrade : preinstall install postinstall
Is there a more elegant way to do this ?
Thanks
Jose-Marcio