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;
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.