Re: how to install data directories

2008-08-29 Thread Remco Bras
Hi, ah yes, that is a problem, in that case, you could do something like this in Makefile.am: dirs = some_data_dir some_other_data_dir install-data-local: for d in $(dirs); \ do\ cp -Rv $d $(datadir)\ done Would this solution be acceptable? -Remco

Re: how to install data directories

2008-08-29 Thread Matej Tyc
Thank you for you reply! Well, I thought that it can be done somehow like this, but I don't like the solution for two reasons: 1. I have to list all the files I want to install here. This may make the Makefile.am really huge and since datafiles change much more often than source files, maintaining

Re: how to install data directories

2008-08-29 Thread Matej Tyc
Thank you, I see that I can clarify the issue a little bit more: I now really think that this is more automake than autoconf related. There are two challenges connected with that: 1. I have to tell the code what is the correct path to those datafiles, which I had correctly accomplished by including

Re: Automake with Pro*C

2008-08-29 Thread Sebastien REYNES
Thank you for your answer Ralf. I have found a solution to do what I wanted : lib_LIBRARIES = libcompc.a libcompc_a_SOURCES = ate_u0002.pc ate_u0008.pc ate_u0009.pc ate_u0100.pc INCLUDES = -I$(ORACLE_HOME)/precomp/public -I/usr/include SUFFIXES = .o .c .pc .pc.c: $(ORACLE_HOME)/bin/proc -D

Re: how to install data directories

2008-08-29 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Matej Tyc on 8/28/2008 1:53 PM: > Hello, > I have a project that I adapt to use Autotools and it is a game. It has > several directories with data that are required by the program that need > to be installed somwhere. > I have used AM_CPPF

Re: libtool (1.5.26) with mingw/msys and eclipse problem

2008-08-29 Thread Joost Kraaijeveld
On Fri, 2008-08-29 at 08:18 +0200, Ralf Wildenhues wrote: > Can you influence Eclipse's choice of shell to use? It is possible to change the way Eclipse runs the make command, but all my attempts to do so failed so far. > Please post the exact error (copy and paste), as well as the command you > i