Bug #853

Minor typo in src/Makefile.am causes build process to break

Added by Anonymous 807 days ago. Updated 801 days ago.

Status:Fixed Start:
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:core
Target version:-
Pending:

Resolution:

fixed


Description

I tried compiling the lighty svn sources and got an build error caused by a missing http_req_parser.h. I think the problem is related to a typo in Makefile.am. It only occurs if the rules in the Makefile are processed in a particular order which is probably why this doesn't happen to everyone. The following patch should fix this


# svn diff
Index: Makefile.am
===================================================================
--- Makefile.am (revision 1316)
+++ Makefile.am (working copy)
@@ -33,7 +33,7 @@
        $(LEMON) -q $(srcdir)/http_req_parser.y $(srcdir)/lempar.c

 http_req_range_parser.c http_req_range_parser.h: http_req_range_parser.y
-       rm -f http_req_parser.h
+       rm -f http_range_req_parser.h
        $(LEMON) -q $(srcdir)/http_req_range_parser.y $(srcdir)/lempar.c

 mod_ssi_exprparser.c mod_ssi_exprparser.h: mod_ssi_exprparser.y

-- lighty

History

09/20/2006 07:14 PM - jan

  • Status changed from New to Fixed
  • Resolution set to fixed

thanks, fixed in r1322

Also available in: Atom PDF