summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am4
-rw-r--r--doc/manual/p11-kit-devel.xml4
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 27b5b47..de840c0 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,2 +1,6 @@
SUBDIRS = manual
+
+memcheck:
+
+leakcheck:
diff --git a/doc/manual/p11-kit-devel.xml b/doc/manual/p11-kit-devel.xml
index 52535d3..12beb5d 100644
--- a/doc/manual/p11-kit-devel.xml
+++ b/doc/manual/p11-kit-devel.xml
@@ -266,6 +266,10 @@ $ make install
the tests. If you run it from a subdirectory only the tests in that
directory will be run.</para>
+ <para>To check for memory errors or memory leaks, run <literal>make memcheck</literal>
+ or <literal>make leakcheck</literal> respectively. This requires valgrind
+ be installed.</para>
+
<para>Build p11-kit with the <option>--enable-coverage</option> configure
option to build code coverage support.</para>