From 809559ae1e046a5332cbf1e6272c2dbdeceedab1 Mon Sep 17 00:00:00 2001 From: Yoshiyuki Asaba Date: Sat, 6 May 2006 12:48:05 +0000 Subject: [PATCH] Using BSD make, build process never finished. BSD make can only use "$<" in an implicit rule. But '$<' is used in the explicit rule. pgpool.8: pgpool.8.in sed 's,@sysconfdir\@,$(sysconfdir),g' $< >$@ BSD make transforms '$<' to empty string in an explicit rule. So, it uses '$?' instead of '$<'. --- Makefile.am | 2 +- Makefile.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index fffbb43..df75704 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,7 +16,7 @@ AM_CPPFLAGS = -Wall -Wmissing-prototypes -Wmissing-declarations -D_GNU_SOURCE man_MANS = pgpool.8 pgpool.8: pgpool.8.in - sed 's,@sysconfdir\@,$(sysconfdir),g' $< >$@ + sed 's,@sysconfdir\@,$(sysconfdir),g' $? >$@ CLEANFILES = pgpool.8 EXTRA_DIST = pgpool.8.in diff --git a/Makefile.in b/Makefile.in index c12b849..1cc4051 100644 --- a/Makefile.in +++ b/Makefile.in @@ -647,7 +647,7 @@ uninstall-man: uninstall-man8 pgpool.8: pgpool.8.in - sed 's,@sysconfdir\@,$(sysconfdir),g' $< >$@ + sed 's,@sysconfdir\@,$(sysconfdir),g' $? >$@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: -- 2.39.5