BUILT_SOURCES=
CLEANFILES=
MAINTAINERCLEANFILES=
+PHONY=
# default DEFAULT_INCLUDES=' -I. -I$(srcdir)'.(dirnames of 'CONFIG_HEADER') ,
# we neeed such $(DEFAULT_INCLUDES) but we need to prefer our $(INCLUDES)
# thus we postpone them later by moving them to $(AM_CPPFLAGS).
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
INCLUDES+=-I$(top_srcdir)/src/libcaptive/include
INCLUDES+=-I$(top_srcdir)/intl
+# Force delete of target file if command fails.
+# Generally better behaviour but it requires GNU make. Harmless otherwise.
+.DELETE_ON_ERROR:
+
+.PHONY: $(PHONY)
# This target is used during ./autogen.pl POTFILES.in generation
+PHONY+=distfiles
distfiles: $(DISTFILES)
@if test -n "$(DISTFILES_PRINT)";then \
echo -n ":DISTFILES:"; \
dist-hook:
endif
for i in _built_sources_pad $(BUILT_SOURCES);do \
- $(RM) $(distdir)/$$i; \
+ $(RM) -r $(distdir)/$$i; \
done
# Unfortunately we need to use this never-invocated target
# to get $(COMPILE) variable definition.
-MAINTAINERCLEANFILES+=.include_test_false.c
-BUILT_SOURCES+=.include_test_false.c
-if IS_FALSE
-noinst_PROGRAMS=.include_test_false
+# Do not: .include_test_false.c
+# as automake-1.9.5-1 would produce invalid rules for file: .c
+MAINTAINERCLEANFILES+=_include_test_false.c
+BUILT_SOURCES+=_include_test_false.c
+if NEVER
+noinst_PROGRAMS=_include_test_false
endif
-.include_test_false.c:
+_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