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;