1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Make all paths relative to top_{build,src}dir

This commit is contained in:
Jonas Fonseca 2005-10-22 12:54:39 +02:00 committed by Jonas Fonseca
parent 7a2735357f
commit 01f9c9f1f6

View File

@ -7,8 +7,8 @@ CLEAN = features.log
all-recursive: config.h all-recursive: config.h
# Automagically rerun autotools # Automagically rerun autotools
config.status: $(top_srcdir)/configure $(top_builddir)/config.status: $(top_srcdir)/configure
$(SHELL) ./config.status --recheck cd $(top_builddir) && $(SHELL) ./config.status --recheck
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
$(ACLOCAL_M4): $(top_srcdir)/configure.in $(top_srcdir)/acinclude.m4 $(ACLOCAL_M4): $(top_srcdir)/configure.in $(top_srcdir)/acinclude.m4
@ -17,13 +17,14 @@ $(ACLOCAL_M4): $(top_srcdir)/configure.in $(top_srcdir)/acinclude.m4
$(top_srcdir)/configure: $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/configure: $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOCONF) cd $(top_srcdir) && $(AUTOCONF)
config.h: stamp-h $(top_builddir)/config.h: $(top_builddir)/stamp-h
@if test ! -f $@; then \ @cd $(top_builddir) && \
if test ! -f $@; then \
rm -f stamp-h; \ rm -f stamp-h; \
$(MAKE) stamp-h; \ $(MAKE) stamp-h; \
else :; fi else :; fi
stamp-h: $(top_srcdir)/config.h.in $(top_builddir)/config.status $(top_builddir)/stamp-h: $(top_srcdir)/config.h.in $(top_builddir)/config.status
cd $(top_builddir) \ cd $(top_builddir) \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \ && CONFIG_FILES= CONFIG_HEADERS=config.h \
$(SHELL) ./config.status $(SHELL) ./config.status