--- projects/libstatgrab/docs/Makefile.am 2003/10/02 16:00:05 1.16 +++ projects/libstatgrab/docs/Makefile.am 2004/05/02 17:39:19 1.25 @@ -1,20 +1,19 @@ # Makefile for libstatgrab/docs -# http://www.i-scream.org/ -# $Id: Makefile.am,v 1.16 2003/10/02 16:00:05 tdb Exp $ +# http://www.i-scream.org/libstatgrab/ +# $Id: Makefile.am,v 1.25 2004/05/02 17:39:19 tdb Exp $ -DOCS = network.txt diskio.txt load_average.txt process_stats.txt os_stats.txt vm_stats.txt user_list.txt cpu.txt page_stat.txt +if MANPAGES +man_MANS = sg_get_cpu_stats.3 sg_get_cpu_stats_diff.3 \ + sg_get_cpu_percents.3 sg_get_disk_io_stats.3 \ + sg_get_disk_io_stats_diff.3 sg_get_host_info.3 \ + sg_get_load_stats.3 sg_get_mem_stats.3 sg_get_swap_stats.3 \ + sg_get_network_iface_stats.3 sg_get_network_io_stats.3 \ + sg_get_network_io_stats_diff.3 sg_get_page_stats.3 \ + sg_get_page_stats_diff.3 sg_get_process_count.3 \ + sg_get_user_stats.3 statgrab.3 +endif -man_MANS = get_load_stats.3 get_general_stats.3 cpu_percent_usage.3 \ - get_cpu_totals.3 get_cpu_diff.3 get_network_stats.3 \ - get_network_stats_diff.3 get_diskio_stats.3 \ - get_diskio_stats_diff.3 get_user_stats.3 get_page_stats.3 \ - get_page_stats.diff.3 - - -docdir = $(datadir)/doc/libstatgrab - -doc_DATA = $(DOCS) -EXTRA_DIST = $(DOCS) $(man_MANS) +EXTRA_DIST = $(man_MANS) %.3: %.xml docbook2man -N --symlinks $<