How not to override existing file

2002-08-31 Thread Sean MacLennan
Hi, I am a beginner to automake. I have setup a simple automake/autoconf for the GoFish project http://gofish.sourceforge.net. The project has a .conf file. I have the following line in the Makefile.am: sysconf_DATA = gofish.conf This works great at installing the conf file. Now I want to

Re: How not to override existing file

2002-08-31 Thread Tom Tromey
Sean == Sean MacLennan [EMAIL PROTECTED] writes: Sean sysconf_DATA = gofish.conf Sean This works great at installing the conf file. Now I want to Sean change it so it will not overwrite an exiting file. Preferably, Sean if the file does not exist, it will be installed. If it does, Sean the

Re: Including header files in shared libraries

2002-08-31 Thread Tom Tromey
Xabier == Xabier Rodriguez Calvar [EMAIL PROTECTED] writes: Xabier include_HEADERS = hello-utils.h Xabier Doing this hello-utils.h is included as a headers file that Xabier belongs to hello project, but I want it to be included as Xabier libhello-util. The easiest thing is to name it that way

Re: AMDEP does not appear in AM_CONDITIONAL

2002-08-31 Thread Tom Tromey
== Olefirenko Alexander [EMAIL PROTECTED] writes: Subj: what am i doing wrong ? executing automake i getting alot of messages: /usr/share/automake/am/lang-compile.am: AMDEP does not appear in AM_CONDITIONAL and /usr/share/automake/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL

Re: How not to override existing file

2002-08-31 Thread Sean MacLennan
Tom Tromey writes: There's no automatic way to do this. But you can write an install-local rule and do it by hand. Ok, I have done that. Now one last question. What is the correct way to remove a directory when I do not want an error if the directory is non-empty. Currently I just do: