> Date: Tue, 11 Dec 2012 12:24:50 +0100 > From: Patrice Dumas <[email protected]> > > On Tue, Dec 11, 2012 at 12:06:49PM +0200, Eli Zaretskii wrote: > > > > Failing that, I will need some help here. I know enough Autoconf to > > add the necessary magic to configure.ac that will replace some > > @VOODOO@ with the list of files to install on Windows and leave it > > empty on Posix platforms. But how do I add @VOODOO@ to Makefile.am, > > so that Makefile.in gets generated with it? I don't know anything > > about Automake, except how to type its name at the shell prompt. > > Something convenient in Automake are conditionals. They may be very > interesting in that case. See > http://www.gnu.org/software/automake/manual/html_node/Conditionals.html#Conditionals
Thanks, that was the missing link. I attach below a patch to install Windows batch files for the appropriate targets. (It is a binary attachment because the batch files must have DOS-style CR-LF end-of-line format, or else some Windows shells will refuse to run them.) Unfortunately, I couldn't test the patches, because Automake 1.12 and Autoconf 2.69 are required, whereas I have 1.11.6 and 2.65 respectively, and I cannot upgrade because I need these versions for Emacs. If you could send me the modified configury files produced by Automake and Autoconf, I could then test them here. Thanks.
w32scripts.dif
Description: Binary data
