X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2FMakefile.am;h=99781286443d248706e4545c604c79d6b6bd1d77;hb=a43858634b21d77140076f9a2e408cc628541eeb;hp=1189f8e15b9f80e5556995e49e2d787096f738ac;hpb=0ee5345d9f7b8adafbd5a7e86fca86e0cac70d4d;p=statsd-tg.git diff --git a/src/Makefile.am b/src/Makefile.am index 1189f8e..9978128 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,3 +3,15 @@ bin_PROGRAMS = statsd-tg statsd_tg_SOURCES = statsd-tg.c statsd_tg_CFLAGS = $(AM_CFLAGS) -pthread statsd_tg_LDADD = -lrt + +EXTRA_DIST = statsd-tg.pod + +dist_man_MANS = statsd-tg.1 + +.pod.1: + pod2man --release=$(VERSION) --center=$(PACKAGE) $< \ + >.pod2man.tmp.$$$$ 2>/dev/null && mv -f .pod2man.tmp.$$$$ $@ || true + @if grep '\' $@ >/dev/null 2>&1; \ + then \ + echo "$@ has some POD errors!"; false; \ + fi