]> granicus.if.org Git - apache/commitdiff
Fix flex and bison usage when building out of tree.
authorRainer Jung <rjung@apache.org>
Thu, 30 Sep 2010 13:37:34 +0000 (13:37 +0000)
committerRainer Jung <rjung@apache.org>
Thu, 30 Sep 2010 13:37:34 +0000 (13:37 +0000)
Usually these make targets are not executed because
buildconf fixes the timestamps accordingly.

But in case people want to experiment with the files
it's nice to still support out of tree build.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1003061 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/Makefile.in

index efb721582bcebcab5e9753c86645f2ba6ac4f79c..e8a88876d0ada0f81ac076776510e041dd6b1db0 100644 (file)
@@ -25,13 +25,13 @@ include $(top_srcdir)/build/special.mk
 #
 
 ssl_expr_scan.c: $(top_srcdir)/modules/ssl/ssl_expr_scan.l ssl_expr_parse.h
-       flex -Pssl_expr_yy -o ssl_expr_scan.c ssl_expr_scan.l
+       flex -Pssl_expr_yy -o ssl_expr_scan.c $(top_srcdir)/ssl_expr_scan.l
        mv ssl_expr_scan.c ssl_expr_scan.c.tmp
        sed -e "s|\"`pwd`/|\"|g" <ssl_expr_scan.c.tmp >ssl_expr_scan.c
        rm -f ssl_expr_scan.c.tmp
 
 ssl_expr_parse.c ssl_expr_parse.h: $(top_srcdir)/modules/ssl/ssl_expr_parse.y
-       bison -pssl_expr_yy --defines=ssl_expr_parse.h -o ssl_expr_parse.c ssl_expr_parse.y
+       bison -pssl_expr_yy --defines=ssl_expr_parse.h -o ssl_expr_parse.c $(top_srcdir)/modules/ssl/ssl_expr_parse.y
        mv ssl_expr_parse.c ssl_expr_parse.c.tmp
        sed -e "s|\"`pwd`/|\"|g" < ssl_expr_parse.c.tmp > ssl_expr_parse.c
        rm -f ssl_expr_parse.c.tmp