When regenerating an enum file, don't copy it back to the source directory if it hasn't actually changed. This allows using a read- only source directory where the enum header is newer than the generated file, as long as they're not really out of sync. OTOH, *do* touch the generated source-dir file even when unchanged, in order to avoid re-running its recipe on the next build, however, allow this to silently fail (which is harmless). |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| gimp-thumbnail-list.c | ||
| gimpthumb-enums.h | ||
| gimpthumb-error.c | ||
| gimpthumb-error.h | ||
| gimpthumb-types.h | ||
| gimpthumb-utils.c | ||
| gimpthumb-utils.h | ||
| gimpthumb.def | ||
| gimpthumb.h | ||
| gimpthumbnail.c | ||
| gimpthumbnail.h | ||
| Makefile.am | ||