UltraMonkey-L7 V2(single-thread implementation)
修訂 | 06581d318aa5f7451438ec1f91344c5ba011fe59 (tree) |
---|---|
時間 | 2010-03-24 21:43:32 |
作者 | TATEISHI Katsuyuki <kt@whee...> |
Commiter | TATEISHI Katsuyuki |
Change directory to find in extract_log.check target.
When make distcheck, $(top_srcdir) contains the original source tree and
the $(distdir) tree extracted from distribution archive. Each two trees
have the same source files, so the extracted_log.check always fails.
@@ -51,8 +51,8 @@ install-data-hook: | ||
51 | 51 | mkdir -p $(DESTDIR)$(l7vs_logdir) |
52 | 52 | |
53 | 53 | extract_log.check: |
54 | - find $(top_srcdir) -type f \( -name '*.c' -o -name '*.cpp' \) -print0 \ | |
55 | - | xargs -0 perl $(top_srcdir)/logger/extract_log \ | |
54 | + find $(distdir) -type f \( -name '*.c' -o -name '*.cpp' \) -print0 \ | |
55 | + | xargs -0 perl $(distdir)/logger/extract_log \ | |
56 | 56 | > extract_log.out 2>/dev/null |
57 | 57 | @(dupcount=`grep -c '^LOG_CAT_[0-9A-Z_]* (duplicate)' extract_log.out` || true ; \ |
58 | 58 | if test x0 != x$$dupcount ;\ |