(localedir.h): Make it readonly; this
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 1 Aug 2004 15:18:29 +0000 (15:18 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 1 Aug 2004 15:18:29 +0000 (15:18 +0000)
undoes part of the 2004-07-27 patch.

src/Makefile.am

index be442aa..111dde1 100644 (file)
@@ -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