ppa stats graph
[ppastats.git] / src / Makefile.am
index dad0d6a..9fc8b01 100644 (file)
@@ -6,8 +6,19 @@ LIBS += $(CURL_LIBS) $(JSON_LIBS)
 
 bin_PROGRAMS = ppastats
 ppastats_SOURCES = \
+       cache.h cache.c\
+       chart.h chart.c\
        html.h html.c\
+       list.h list.c\
        lp.h lp.c\
        lp_json.h lp_json.c\
        lp_ws.h lp_ws.c\
-       main.c 
+       main.c\
+       ppastats.h ppastats.c
+
+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)
+