git://git.jankratochvil.net
/
captive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed name of the 'captive' init script.
[captive.git]
/
Makefile-head.am
diff --git
a/Makefile-head.am
b/Makefile-head.am
index
0634c6e
..
3df623b
100644
(file)
--- a/
Makefile-head.am
+++ b/
Makefile-head.am
@@
-25,6
+25,7
@@
EXTRA_DIST=
BUILT_SOURCES=
CLEANFILES=
MAINTAINERCLEANFILES=
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).
# 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).
@@
-66,8
+67,10
@@
INCLUDES+=-I$(top_srcdir)/intl
# Generally better behaviour but it requires GNU make. Harmless otherwise.
.DELETE_ON_ERROR:
# 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
# This target is used during ./autogen.pl POTFILES.in generation
+PHONY+=distfiles
distfiles: $(DISTFILES)
@if test -n "$(DISTFILES_PRINT)";then \
echo -n ":DISTFILES:"; \
distfiles: $(DISTFILES)
@if test -n "$(DISTFILES_PRINT)";then \
echo -n ":DISTFILES:"; \
@@
-99,7
+102,7
@@
dist-hook-local:
dist-hook:
endif
for i in _built_sources_pad $(BUILT_SOURCES);do \
dist-hook:
endif
for i in _built_sources_pad $(BUILT_SOURCES);do \
- $(RM) $(distdir)/$$i; \
+ $(RM)
-r
$(distdir)/$$i; \
done
done
@@
-125,11
+128,29
@@
endif
# Unfortunately we need to use this never-invocated target
# to get $(COMPILE) variable definition.
# 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
+# 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
if NEVER
-noinst_PROGRAMS=
.
include_test_false
+noinst_PROGRAMS=
_
include_test_false
endif
endif
-
.
include_test_false.c:
+
_
include_test_false.c:
@touch $@
@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