Fix "make dist" without "make all"

Fix prerequisites and Automake variables in the Makefiles, so that
running "make dist" does not fail if the program is not built. When
running help2man, have it execute "gengetopt --show-help" instead
of the built program to obtain the help message.
This commit is contained in:
David Ward
2020-04-11 10:09:27 -04:00
parent 5abc01cf70
commit c18df66d4c
3 changed files with 10 additions and 10 deletions

View File

@@ -37,7 +37,7 @@ $(builddir)/vicc: vicc.in Makefile
$(AM_V_GEN)$(do_subst) < $(srcdir)/vicc.in > $(builddir)/vicc
@chmod +x $(builddir)/vicc
vicc.1: vicc.in
vicc.1: $(builddir)/vicc
$(AM_V_GEN)$(HELP2MAN) \
--no-discard-stderr \
--output=$@ \