Blame SOURCES/opencryptoki-3.2-conditional-manpages.patch

3630b7
diff --git a/man/man1/Makefile.am b/man/man1/Makefile.am
b32e24
index f2274d7..d98ae8c 100644
3630b7
--- a/man/man1/Makefile.am
3630b7
+++ b/man/man1/Makefile.am
b32e24
@@ -1,3 +1,12 @@
b32e24
-man1_MANS=pkcsconf.1 pkcsicsf.1 pkcsep11_migrate.1 pkcscca.1
3630b7
+man1_MANS=pkcsconf.1 pkcsicsf.1
3630b7
+
b32e24
+if ENABLE_PKCSEP11_MIGRATE
b32e24
+man1_MANS += pkcsep11_migrate.1
b32e24
+endif
b32e24
+
3630b7
+if ENABLE_CCATOK
3630b7
+man1_MANS += pkcscca.1
3630b7
+endif
3630b7
+
3630b7
 EXTRA_DIST = $(man1_MANS)
3630b7
 CLEANFILES = $(man1_MANS)