From: Jim Meyering Date: Sat, 9 Aug 2003 10:44:06 +0000 (+0000) Subject: Use the e.g., `$(FNMATCH_H)' notation for AC_REPLACED X-Git-Tag: CPPI-1_11~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23ee422fe8b34467d45cbf680f37bda23255128a;p=thirdparty%2Fcoreutils.git Use the e.g., `$(FNMATCH_H)' notation for AC_REPLACED variable names, rather than @FNMATCH_H@. Likewise for $(ALLOCA_H). (fnmatch.h): Use `$@' in the commands, in place of the three copies of the literal target, `fnmatch.h'. (alloca.h): Likewise. --- diff --git a/lib/Makefile.am b/lib/Makefile.am index c700f7c46a..71ae87704a 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -201,10 +201,10 @@ EXTRA_DIST += alloca_.h # We need the following in order to create an when the system # doesn't have one that works with the given compiler. -all-local $(lib_OBJECTS): @ALLOCA_H@ +all-local $(lib_OBJECTS): $(ALLOCA_H) alloca.h: alloca_.h - cp $(srcdir)/alloca_.h alloca.h-t - mv alloca.h-t alloca.h + cp $(srcdir)/alloca_.h $@-t + mv $@-t $@ MOSTLYCLEANFILES += alloca.h alloca.h-t BUILT_SOURCES += $(FNMATCH_H) @@ -212,10 +212,10 @@ EXTRA_DIST += fnmatch_.h fnmatch_loop.c # We need the following in order to create an when the system # doesn't have one that supports the required API. -all-local $(lib_OBJECTS): @FNMATCH_H@ +all-local $(lib_OBJECTS): $(FNMATCH_H) fnmatch.h: fnmatch_.h - cp $(srcdir)/fnmatch_.h fnmatch.h-t - mv fnmatch.h-t fnmatch.h + cp $(srcdir)/fnmatch_.h $@-t + mv $@-t $@ MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t SUFFIXES = .sed .sin