summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-08-01 15:18:29 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-08-01 15:18:29 +0000
commitbb1e87735ec31e226cb4b32575733b50c3268984 (patch)
tree24ad3800cd42cb92015c3e2aee64e7a7245d2dd3 /src/Makefile.am
parent94732c8a71d606796ea656593eb085fa0f43a04f (diff)
downloadcoreutils-bb1e87735ec31e226cb4b32575733b50c3268984.tar.xz
(localedir.h): Make it readonly; this
undoes part of the 2004-07-27 patch.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index be442aa23..111dde19d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -162,7 +162,9 @@ localedir = $(datadir)/locale
BUILT_SOURCES = localedir.h
DISTCLEANFILES = localedir.h
localedir.h:
+ @rm -f $@
echo '#define LOCALEDIR "$(localedir)"' >$@
+ @chmod a-w $@
BUILT_SOURCES += dircolors.h
dircolors.h: dcgen dircolors.hin