Re: need to install (but not build or distribute) something to the bin directory...
Hello, On Wed, Aug 02, 2006 at 07:30:47PM -0600, Ed Hartnett wrote: [...] gcc to produce an extra output file, called libnetcdf.def. ... So how do I tell automake that there is a file I would like installed, but not specially built nor included in the distribution? I'm sure there is something very easy I am missing here... my wild guess is that you need bin_DATA = libnetcdf.def Or you can use nodist_bin_DATA, if it makes it more readable for you. (*_DATA are not distributed by default.) You might face complaints that there is no rule for the file; in that case, write one: libnetcdf.def: libnetcdf.dll @: HTH, Stepan
need to install (but not build or distribute) something to the bin directory...
Howdy all! I have just managed to get my library to build with mingw and produce windows DLLs. Yipee! Part of the process called for me to add a flag to the LD_FLAGS which causes gcc to produce an extra output file, called libnetcdf.def. This extra file is not a binary, but I want to install it in the same directory as the binaries. (Because that's where the DLL is getting installed, and I want the .def file to be installed with it.) Since the .def file is a byproduct of my linking, there is no command to build it, and it is not in the distribution. So how do I tell automake that there is a file I would like installed, but not specially built nor included in the distribution? I'm sure there is something very easy I am missing here... Thanks! Ed -- Ed Hartnett -- [EMAIL PROTECTED]