From a60f136da2890c7490bc3a579e5cb787df171f3a Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 28 Jul 2004 18:53:22 +0000 Subject: [PATCH] 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. --- src/Makefile.am | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index c3a154f6a9..be442aa236 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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 -- 2.47.2