projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16321b8
)
(localedir.h): Don't redirect directly to target.
author
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 13 Sep 2004 13:05:08 +0000
(13:05 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 13 Sep 2004 13:05:08 +0000
(13:05 +0000)
src/Makefile.am
patch
|
blob
|
history
diff --git
a/src/Makefile.am
b/src/Makefile.am
index
111dde1
..
9df6f5e
100644
(file)
--- a/
src/Makefile.am
+++ b/
src/Makefile.am
@@
-162,9
+162,10
@@
localedir = $(datadir)/locale
BUILT_SOURCES = localedir.h
DISTCLEANFILES = localedir.h
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 $@
BUILT_SOURCES += dircolors.h
dircolors.h: dcgen dircolors.hin