From b2b2012386a71ca8650b7fdc1570f33fc1b7ec88 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Thu, 20 Oct 2005 01:14:53 +0200 Subject: [PATCH] Always address configure.in and other autotools file with $(top_srcdir) --- Makefile | 2 +- doc/man/man1/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a87a5cf7..9d14eb09 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ config.status: $(top_srcdir)/configure $(SHELL) ./config.status --recheck ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -$(ACLOCAL_M4): configure.in acinclude.m4 +$(ACLOCAL_M4): $(top_srcdir)/configure.in $(top_srcdir)/acinclude.m4 cd $(top_srcdir) && $(ACLOCAL) $(top_srcdir)/configure: $(top_srcdir)/configure.in $(ACLOCAL_M4) diff --git a/doc/man/man1/Makefile b/doc/man/man1/Makefile index ea72c130..be6bdd70 100644 --- a/doc/man/man1/Makefile +++ b/doc/man/man1/Makefile @@ -1,8 +1,8 @@ path_to_top=../../.. include $(path_to_top)/Makefile.config -elinks.1: elinks.1.in $(path_to_top)/configure.in - cd $(path_to_top) && \ +elinks.1: elinks.1.in $(top_srcdir)/configure.in + cd $(top_srcdir) && \ CONFIG_FILES="$(RELPATH)$@" CONFIG_HEADERS= $(SHELL) ./config.status MAN1 = elinks.1