[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-gengetopt] gengetopt and gmake

From: Kevin Musker
Subject: Re: [help-gengetopt] gengetopt and gmake
Date: Wed, 13 Sep 2006 09:10:18 +0100


Apollogies for not replying sooner.

Hmmm, probably should have thought of that. What is it they say about
the simple solutions... :)

I still don't really like the idea of having stray h/cc files lying
around, but the main thing is that they don't get checked in.

Thanks for your help,


Kevin Musker wrote:
> This succeeds in building the targets, but only because when it looks
> for either of the files, both are created.
> This causes problems at the end, when gmake deletes all intermediate
> files. Because it didn't generate some
> of them, they just appeared (in the case of one of the .c files -
> produced from applying the rule to a required getopt
> header), then gmake thinks that it existed all along, and so it
> delete the file upon completion.
> I know it's a really picky case, but if these generated files end up
> lying around, they will get checked into the
> source repository...


if I understand the problem well, all you need to do is to add the
generated files into your .cvsignore file...

am I right?


|  Lorenzo Bettini          ICQ# lbetto, 16080134     |
|  PhD in Computer Science                            |
|  Dip. Sistemi e Informatica, Univ. di Firenze       |
|  Florence - Italy        (GNU/Linux User # 158233)  |
|  Home Page        :    |
|         XKlaim language  |
| Deep Purple Cover Band |
|           |
|              |
|       |
|    |

Help-gengetopt mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]