X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2FMakefile.am;h=bcb15aa698891db9bdfc058d1afc9fbb2a8771f3;hb=79035c81c5c623a30d0139bca33bd41ee1756930;hp=4b421654139309671d8448f8fa2a502cc04a8b1a;hpb=d0059fa2611c9db88dd365b77ce49c04d2102de3;p=ppastats.git diff --git a/src/Makefile.am b/src/Makefile.am index 4b42165..bcb15aa 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -19,6 +19,7 @@ ppastats_SOURCES = \ dist_man_MANS = ppastats.1 ppastats.1: main.c $(top_srcdir)/configure.ac - $(MAKE) $(AM_MAKEFLAGS) ppastats$(EXEEXT) - help2man -N --name="PPA Statistics command line tool" --output=ppastats.1 ./ppastats$(EXEEXT) - + if ! test -z "$(HELP2MAN)"; then \ + $(MAKE) $(AM_MAKEFLAGS) ppastats$(EXEEXT); \ + help2man -N --name="PPA Statistics command line tool" --output=ppastats.1 ./ppastats$(EXEEXT); \ + fi;