X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=Makefile-head.am;h=ebcd82a7cf5be6f324248412850fcb172af1d420;hb=e68c703d63feda7b4b74821c2603a25b7fec7933;hp=6c419d25cc3642d2156916cefd946e5ca1adbf9c;hpb=b071ac46960b6d0036ff2e353847f6aa7b0509a3;p=captive.git diff --git a/Makefile-head.am b/Makefile-head.am index 6c419d2..ebcd82a 100644 --- a/Makefile-head.am +++ b/Makefile-head.am @@ -127,9 +127,25 @@ endif # to get $(COMPILE) variable definition. MAINTAINERCLEANFILES+=.include_test_false.c BUILT_SOURCES+=.include_test_false.c -if IS_FALSE +if NEVER noinst_PROGRAMS=.include_test_false endif .include_test_false.c: @touch $@ +if HAVE_PERL +%.pod: %.pod.pl + $(PERL) $< >$@ + +endif +if HAVE_POD2MAN +%.1: %.pod + $(POD2MAN) --section=1 $< >$@ + +%.7: %.pod + $(POD2MAN) --section=7 $< >$@ + +%.8: %.pod + $(POD2MAN) --section=8 $< >$@ + +endif