mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
parse-datetime: fix generated paths for coverage files
* modules/parse-datetime: Adjust the paths for parse-datetime.y within parse-datetime.c, so that gcc generates appropriate .gcno files, allowing lcov to proceed without error. Previously it would error trying to find "lib/lib/parse-datetime.y".
This commit is contained in:
@@ -37,7 +37,8 @@ parse-datetime.c: parse-datetime.y
|
||||
y.tab.h parse-datetime.h \
|
||||
y.output parse-datetime.output \
|
||||
-- $(YACC) $(YFLAGS) $(AM_YFLAGS) && \
|
||||
mv parse-datetime.c parse-datetime.c-t && \
|
||||
$(SED) 's|".*/parse-datetime.y"|"parse-datetime.y"|' \
|
||||
< parse-datetime.c > parse-datetime.c-t && \
|
||||
mv parse-datetime.c-t $(srcdir)/parse-datetime.c
|
||||
lib_SOURCES += parse-datetime.y
|
||||
BUILT_SOURCES += parse-datetime.c
|
||||
|
Reference in New Issue
Block a user