X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=Makefile-head.am;h=ebcd82a7cf5be6f324248412850fcb172af1d420;hb=e68c703d63feda7b4b74821c2603a25b7fec7933;hp=26b84638771b0771c57b099eaf07cb7216bb2a30;hpb=d5b2ed13a6d7d996d443a2ece7be41204af4a517;p=captive.git diff --git a/Makefile-head.am b/Makefile-head.am index 26b8463..ebcd82a 100644 --- a/Makefile-head.am +++ b/Makefile-head.am @@ -46,6 +46,7 @@ DEFAULT_INCLUDES= INCLUDES= lib_LTLIBRARIES= pkginclude_HEADERS= +bin_PROGRAMS= sbin_PROGRAMS= noinst_HEADERS= # Prevent: noinst_DATA was already defined in condition TRUE, which implies condition MAINTAINER_MODE_TRUE @@ -126,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