From fc4443aca7fec0ef86bc834208ba4073b8aa2345 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Mon, 14 Dec 2015 12:52:34 +0100 Subject: [PATCH] add configure.ac as a dependency of the yubico-piv-tool binary since if version number changes it should be rebuilt relates #53 --- tool/Makefile.am | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tool/Makefile.am b/tool/Makefile.am index 3a9c760..5f4c73a 100644 --- a/tool/Makefile.am +++ b/tool/Makefile.am @@ -32,7 +32,7 @@ AM_CPPFLAGS = $(OPENSSL_CFLAGS) AM_CPPFLAGS += -I$(top_srcdir)/lib -I$(top_builddir)/lib bin_PROGRAMS = yubico-piv-tool -yubico_piv_tool_SOURCES = yubico-piv-tool.c yubico-piv-tool.h2m +yubico_piv_tool_SOURCES = yubico-piv-tool.c yubico-piv-tool.h2m $(top_srcdir)/configure.ac yubico_piv_tool_LDADD = $(OPENSSL_LIBS) ../lib/libykpiv.la yubico_piv_tool_LDADD += libpiv_cmd.la libpiv_util.la @@ -54,8 +54,7 @@ MAINTAINERCLEANFILES = $(BUILT_SOURCES) dist_man_MANS = yubico-piv-tool.1 MAINTAINERCLEANFILES += $(dist_man_MANS) -yubico-piv-tool.1: $(yubico_piv_tool_SOURCES) \ - $(top_srcdir)/configure.ac +yubico-piv-tool.1: $(yubico_piv_tool_SOURCES) $(HELP2MAN) --no-info \ --name="Yubico PIV tool" \ --include=$(srcdir)/yubico-piv-tool.h2m \