Log the queue size before and after journal rotation, to see if rotation is killing us.
[lwes-journaller.git] / Makefile.am
blob51cbd8b7179e8a123121c65a28ba9955cbcf7337
1 # BEGIN: Variables to change.
3 # additional subdirs which automake should check (default is src and tests)
5 mysubdirs =
7 # additional files to add to a distribution
9 myextradist =
11 # any additional files to clean up with 'make clean'
13 mycleanfiles =
15 # additional files to remove when make maintainer-clean is called
17 mymaintainercleanfiles = doc
19 # END: Variables to change
20 # past here, hopefully, there is no need to edit anything
21 SUBDIRS = src ${mysubdirs} tests
23 EXTRA_DIST =                            \
24     ${myextradist}
26 CLEANFILES =                            \
27     ${mycleanfiles}
29 MAINTAINERCLEANFILES =                  \
30     Makefile.in                         \
31     acinclude.m4                        \
32     aclocal.m4                          \
33     configure                           \
34     ${mymaintainercleanfiles}
36 maintainer-clean-local:
37         rm -f config.guess config.sub install-sh ltmain.sh \
38               missing mkinstalldirs depcomp INSTALL *.tar.gz \
39               .*.out
40         rm -rf autom4te.cache
41         if test -d doc; then rm -rf doc; fi
43 .PHONY: doxygen
44 doxygen:
45         @doc_out=`doxygen doxygen.config 2>&1`; \
46         doc_ret=$$? ; \
47         echo "$$doc_out" ; \
48         if test "x$$doc_ret" = "x1" ; then \
49           num=`echo "$$doc_out" | grep "No input read" | wc -l` ; \
50           if test $${num} -eq 0 ; then \
51             echo "error : doxygen reported an error" ; \
52             exit 1 ; \
53           fi ; \
54         fi ; \
55         mkdir -p doc/html ; \
56         if test ! -f "doc/html/index.html" ; then \
57             echo "<html><head><title>@PACKAGE_UNDERLINE@: Main Page</title></head><body><h1>No documentation for @PACKAGE_UNDERLINE@ yet, complain to @PACKAGE_BUGREPORT@</h1></body></html>" > doc/html/index.html ; \
58             fi
60 .PHONY: memcheck leakcheck
61 memcheck leakcheck:
62         cd tests/ && $(MAKE) $@
64 # .BEGIN is ignored by GNU make so we can use it as a guard
65 .BEGIN:
66         @echo "error: GNU Make is required, try aliasing gmake to make"
67         @exit 1