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:
+2
-7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user