summaryrefslogtreecommitdiffstats
path: root/server/Makefile.in
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2013-06-15 23:19:04 +0200
committerStefan Fritsch <sf@apache.org>2013-06-15 23:19:04 +0200
commit5c39db5205f65ba48aec54965de9f6fb09bec6e6 (patch)
tree95fde92913314f83150e8c97ce185a8ebca0467b /server/Makefile.in
parentDescribe mod_auth_digest changes more accurately (diff)
downloadapache2-5c39db5205f65ba48aec54965de9f6fb09bec6e6.tar.xz
apache2-5c39db5205f65ba48aec54965de9f6fb09bec6e6.zip
The new bison version now also includes the uppercased builddir in a
preprocessor symbol. Remove it to avoid spurious diffs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1493421 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/Makefile.in')
-rw-r--r--server/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/Makefile.in b/server/Makefile.in
index 5ff3ee7c79..9804379900 100644
--- a/server/Makefile.in
+++ b/server/Makefile.in
@@ -101,8 +101,10 @@ util_expr_scan.c util_expr_parse.c util_expr_parse.h: util_expr_scan.l util_expr
-o $(builddir)/util_expr_parse.c $(srcdir)/util_expr_parse.y
flex -Pap_expr_yy -o $(builddir)/util_expr_scan.c $(srcdir)/util_expr_scan.l
set -e ; \
+ builddir_uc=$$(echo "$(builddir)"|tr a-z/.- A-Z___ ) ; \
for f in util_expr_scan.c util_expr_parse.c util_expr_parse.h ; do \
- sed -e "s|\"$(builddir)/|\"|g" < $(builddir)/$$f > \
+ sed -e "s|\"$(builddir)/|\"|g" -e "s|$$builddir_uc||g" \
+ < $(builddir)/$$f > \
$(builddir)/$$f.$$$$ && \
mv $(builddir)/$$f.$$$$ $(builddir)/$$f ; \
done