1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-05-27 12:47:26 +02:00

this causes Solaris 8 'make' to refuse to build "groups".

(localedir.h): Don't depend on Makefile: this causes Solaris
8 'make' to build localedir.h unnecessarily.  The dependence
on Makefile is ineffective anyway, since $(localedir) might
change even if Makefile hasn't.
This commit is contained in:
Paul Eggert
2004-07-28 18:53:22 +00:00
parent 1cb2521b31
commit a60f136da2
+2 -7
View File
@@ -78,8 +78,6 @@ su_LDADD = $(LDADD) $(LIB_CRYPT)
$(PROGRAMS): ../lib/libfetish.a
$(SCRIPTS): Makefile
SUFFIXES = .sh
.sh:
@@ -163,11 +161,8 @@ editpl = sed -e 's,@''PERL''@,$(PERL),g'
localedir = $(datadir)/locale
BUILT_SOURCES = localedir.h
DISTCLEANFILES = localedir.h
localedir.h: Makefile
@rm -f $@-t
echo '#define LOCALEDIR "$(localedir)"' >$@-t
@chmod a-w $@-t
cmp $@-t $@ > /dev/null 2>&1 && rm -f $@-t || { rm -f $@; mv $@-t $@; }
localedir.h:
echo '#define LOCALEDIR "$(localedir)"' >$@
BUILT_SOURCES += dircolors.h
dircolors.h: dcgen dircolors.hin