1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
--- doc/Makefile.in.orig Tue May 29 11:07:06 2007
+++ doc/Makefile.in Wed May 30 10:58:27 2007
@@ -52,8 +52,12 @@
CONFIG_CLEAN_FILES =
SOURCES =
DIST_SOURCES =
+.if defined(NOPORTDOCS)
+INFO_DEPS =
+.else
INFO_DEPS = cfengine-Reference.info cfengine-Tutorial.info \
cfengine-Anomalies.info
+.endif
am__TEXINFO_TEX_DIR = $(srcdir)
DVIS = cfengine-Reference.dvi cfengine-Tutorial.dvi \
cfengine-Anomalies.dvi
@@ -171,7 +175,7 @@
build_vendor = @build_vendor@
datadir = @datadir@
datarootdir = @datarootdir@
-docdir = $(pkgdatadir)/doc
+docdir = $(prefix)/share/doc/cfengine
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
@@ -179,7 +183,7 @@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
-htmldir = $(pkgdatadir)/html
+htmldir = $(docdir)
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
@@ -213,13 +217,21 @@
# Info used in building and installing HTML files
htmlfiles = $(info_TEXINFOS:.texinfo=.html)
+.if defined(NOPORTDOCS)
+html_DATA =
+.else
html_DATA = $(htmlfiles)
+.endif
# Info used in building and installing Postscript files
psfiles = $(info_TEXINFOS:.texinfo=.ps)
pdffiles = $(info_TEXINFOS:.texinfo=.pdf)
dvifiles = $(info_TEXINFOS:.texinfo=.dvi)
+.if defined(NOPORTDOCS)
+doc_DATA =
+.else
doc_DATA = $(psfiles) $(pdffiles)
+.endif
# Make sure these get distributed with everything else.
EXTRA_DIST = cfagent.8 cfenvd.8 cfenvgraph.8 cfexecd.8 cfkey.8 cfrun.8 cfservd.8 cfengine.8 cfshow.8 cfetoolcheck.8 cfetooldump.8 cfetoolimport.8 cfetoolupdate.8 cfetoolcreate.8 cfetoolgraph.8 cfetoolinfo.8 cfetoolcheck.8 cfetooldump.8 cfetoolimport.8 cfetoolupdate.8 cfetoolcreate.8 cfetoolgraph.8 cfetoolinfo.8 texinfo.tex $(htmlfiles) $(infofiles) $(psfiles) $(dvifiles) $(pdffiles)
@@ -324,7 +336,7 @@
exit 1; \
fi
$(srcdir)/version1.texi: $(srcdir)/stamp-vti
-$(srcdir)/stamp-vti: cfengine-Reference.texinfo $(top_srcdir)/configure
+$(srcdir)/stamp-vti: cfengine-Reference.texinfo
@(dir=.; test -f ./cfengine-Reference.texinfo || dir=$(srcdir); \
set `$(SHELL) $(srcdir)/mdate-sh $$dir/cfengine-Reference.texinfo`; \
echo "@set UPDATED $$1 $$2 $$3"; \
@@ -385,7 +397,7 @@
exit 1; \
fi
$(srcdir)/version2.texi: $(srcdir)/stamp-1
-$(srcdir)/stamp-1: cfengine-Tutorial.texinfo $(top_srcdir)/configure
+$(srcdir)/stamp-1: cfengine-Tutorial.texinfo
@(dir=.; test -f ./cfengine-Tutorial.texinfo || dir=$(srcdir); \
set `$(SHELL) $(srcdir)/mdate-sh $$dir/cfengine-Tutorial.texinfo`; \
echo "@set UPDATED $$1 $$2 $$3"; \
@@ -446,7 +458,7 @@
exit 1; \
fi
$(srcdir)/version3.texi: $(srcdir)/stamp-2
-$(srcdir)/stamp-2: cfengine-Anomalies.texinfo $(top_srcdir)/configure
+$(srcdir)/stamp-2: cfengine-Anomalies.texinfo
@(dir=.; test -f ./cfengine-Anomalies.texinfo || dir=$(srcdir); \
set `$(SHELL) $(srcdir)/mdate-sh $$dir/cfengine-Anomalies.texinfo`; \
echo "@set UPDATED $$1 $$2 $$3"; \
@@ -592,6 +604,7 @@
rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
done
install-docDATA: $(doc_DATA)
+.if !defined(NOPORTDOCS)
@$(NORMAL_INSTALL)
test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)"
@list='$(doc_DATA)'; for p in $$list; do \
@@ -600,6 +613,7 @@
echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
$(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
done
+.endif
uninstall-docDATA:
@$(NORMAL_UNINSTALL)
@@ -609,6 +623,7 @@
rm -f "$(DESTDIR)$(docdir)/$$f"; \
done
install-htmlDATA: $(html_DATA)
+.if !defined(NOPORTDOCS)
@$(NORMAL_INSTALL)
test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
@list='$(html_DATA)'; for p in $$list; do \
@@ -617,6 +632,7 @@
echo " $(htmlDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
$(htmlDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
done
+.endif
uninstall-htmlDATA:
@$(NORMAL_UNINSTALL)
@@ -725,6 +741,7 @@
install-info: install-info-am
install-info-am: $(INFO_DEPS)
+.if !defined(NOPORTDOCS)
@$(NORMAL_INSTALL)
test -z "$(infodir)" || $(mkdir_p) "$(DESTDIR)$(infodir)"
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
@@ -754,6 +771,7 @@
install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
done; \
else : ; fi
+.endif
install-man: install-man8
installcheck-am:
|