diff options
-rw-r--r-- | src/Makefile.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index e131c494e..27f021671 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -1594,9 +1594,10 @@ uninstall-local: rm -f $(installed_su); \ else :; fi localedir.h: - @rm -f $@ - echo '#define LOCALEDIR "$(localedir)"' >$@ - @chmod a-w $@ + @rm -f $@ $@-t + echo '#define LOCALEDIR "$(localedir)"' >$@-t + @chmod a-w $@-t + mv $@-t $@ dircolors.h: dcgen dircolors.hin @rm -f $@ $@-t $(PERL) -w -- $(srcdir)/dcgen $(srcdir)/dircolors.hin > $@-t |