Jim Meyering <[EMAIL PROTECTED]> writes: > alloca.h: alloca_.h > rm -f [EMAIL PROTECTED] $@ > cp $(srcdir)/alloca_.h [EMAIL PROTECTED] > chmod a-x [EMAIL PROTECTED] > mv [EMAIL PROTECTED] $@
One other thing -- how about if we just remove the 'chmod' entirely? If the source is readonly, that'd make the destination readonly. Plus it wouldn't bother people who prefer to have read-write files, and it'd save a command and a line of 'make' output. An even shorter possibility would be: alloca.h: alloca_.h cp -f $(srcdir)/alloca_.h [EMAIL PROTECTED] mv -f [EMAIL PROTECTED] $@ This relies on 'cp -f' and 'mv -f', but that's universal nowadays, no? (If not, we could autoconfize it.)