(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.
$(PROGRAMS): ../lib/libfetish.a
-$(SCRIPTS): Makefile
-
SUFFIXES = .sh
.sh:
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