top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-AM_CPPFLAGS = -Wall -std=gnu99 -Werror \
+AM_CPPFLAGS = -Wall -std=gnu99 -Werror\
+ -DDEFAULT_WWW_DIR=\""$(pkgdatadir)/www"\"\
$(CURL_CFLAGS) $(JSON_CFLAGS)
ppastats_SOURCES = \
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.