diff --git a/virtualsmartcard/configure.ac b/virtualsmartcard/configure.ac index e107633..f724619 100644 --- a/virtualsmartcard/configure.ac +++ b/virtualsmartcard/configure.ac @@ -34,9 +34,15 @@ AX_PTHREAD AC_ARG_VAR([HELP2MAN], [absolute path to help2man used for man page generation of vicc]) AC_PATH_PROG(HELP2MAN, help2man, not found) -if test ! -r src/vpicc/vicc.1 -a "${HELP2MAN}" = "not found" +if test ! -r src/vicc.1 then - AC_MSG_ERROR([Need help2man to generate man page for vicc]) + if test "${HELP2MAN}" = "not found" + then + AC_MSG_ERROR([Need help2man to generate man page for vicc]) + fi +else + # make sure these files are the most recent + touch src/vicc.1 fi # If you need to see the details, just run make V=1.