From 051e9a999cc1f614989d484cd5a825e458721538 Mon Sep 17 00:00:00 2001 From: Frank Morgner Date: Fri, 31 Jul 2015 19:10:32 +0200 Subject: [PATCH] make sure built files are most recent --- virtualsmartcard/configure.ac | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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.