diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-07-28 18:53:22 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-07-28 18:53:22 +0000 |
commit | a60f136da2890c7490bc3a579e5cb787df171f3a (patch) | |
tree | 684539002b78de51f2cce50bae929ab4416ec28c | |
parent | 1cb2521b31ab8a1c0a892b58801e286f685dadde (diff) | |
download | coreutils-a60f136da2890c7490bc3a579e5cb787df171f3a.tar.xz |
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.
-rw-r--r-- | src/Makefile.am | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index c3a154f6a..be442aa23 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 |