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
|
--- doc/Makefile.in.orig Wed Sep 20 10:27:06 2006
+++ doc/Makefile.in Fri Dec 15 12:24:05 2006
@@ -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
@@ -205,15 +209,23 @@
# Info used in building and installing HTML files
htmlfiles = $(info_TEXINFOS:.texinfo=.html)
-htmldir = $(pkgdatadir)/html
+htmldir = $(docdir)
+.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)
-docdir = $(pkgdatadir)/doc
+docdir = $(prefix)/share/doc/cfengine
+.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)
@@ -316,7 +328,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"; \
@@ -375,7 +387,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"; \
@@ -434,7 +446,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"; \
@@ -579,6 +591,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 \
@@ -587,6 +600,7 @@
echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
$(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
done
+.endif
uninstall-docDATA:
@$(NORMAL_UNINSTALL)
@@ -596,6 +610,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 \
@@ -604,6 +619,7 @@
echo " $(htmlDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
$(htmlDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
done
+.endif
uninstall-htmlDATA:
@$(NORMAL_UNINSTALL)
@@ -712,6 +728,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'`; \
@@ -741,6 +758,7 @@
install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
done; \
else : ; fi
+.endif
install-man: install-man8
installcheck-am:
|