From: Justin Erenkrantz Date: Tue, 8 Oct 2002 15:12:43 +0000 (+0000) Subject: Fix recent exports.c breakage by referencing exports.c as being in X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ec39cc39b5c3dd82ab58f179036301c8eee6b5d;p=apache Fix recent exports.c breakage by referencing exports.c as being in top_builddir rather than top_srcdir. For VPATH builds, we must treat exports.c as being in the build tree rather than in the source tree. Otherwise, it won't be regenerated properly. (FreeBSD's make does not require the explicit path, so I'm not sure why this change was made at all.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97144 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/Makefile.in b/server/Makefile.in index ff90fd0628..ab8ddd7790 100644 --- a/server/Makefile.in +++ b/server/Makefile.in @@ -13,8 +13,8 @@ LTLIBRARY_SOURCES = \ util_script.c util_md5.c util_cfgtree.c util_ebcdic.c util_time.c \ rfc1413.c connection.c listen.c \ mpm_common.c util_charset.c util_debug.c util_xml.c \ - util_filter.c $(top_srcdir)/server/exports.c buildmark.c scoreboard.c \ - error_bucket.c protocol.c core.c request.c provider.c + util_filter.c $(top_builddir)/server/exports.c buildmark.c \ + scoreboard.c error_bucket.c protocol.c core.c request.c provider.c TARGETS = delete-exports $(LTLIBRARY_NAME) $(CORE_IMPLIB_FILE) export_vars.h httpd.exp @@ -47,7 +47,7 @@ delete-exports: fi # full path required to keep BSD make happy -$(top_srcdir)/server/exports.c: +$(top_builddir)/server/exports.c: $(AWK) -f $(top_srcdir)/build/make_exports.awk $(EXPORT_FILES) > $@ export_vars.h: