summaryrefslogtreecommitdiff
path: root/sysutils/cfengine3/files/patch-ad
blob: bac2c957947ffecc99f44aeeace0f47377b90526 (plain) (blame)
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
This moves the documentation out of /usr/local/share/cfengine/{doc,html} into
/usr/local/shared/doc/cfengine to keep it inline with the rest of the ports.

--- doc/Makefile.am.orig	Fri Dec  1 02:24:39 2000
+++ doc/Makefile.am	Thu Sep 19 08:39:57 2002
@@ -2,7 +2,7 @@
 info_TEXINFOS = cfengine-Reference.texinfo cfengine-Tutorial.texinfo
 
 # Info used in building and installing HTML files
-htmldir = $(pkgdatadir)/html
+htmldir = $(datadir)/doc/cfengine
 htmlfiles = cfengine-Reference.html cfengine-Tutorial.html 
 html_DATA = $(htmlfiles) cf-security.html
 
@@ -14,21 +14,22 @@
 # then uncomment the reference to ps2
 psfiles = $(ps1)	# $(ps2)
 
-psdir = $(pkgdatadir)/doc
+psdir = $(datadir)/doc/cfengine
 ps_DATA = $(psfiles)
 
 # Make sure these get distributed with everything else.
 EXTRA_DIST =								\
 	texinfo.tex							\
-	cf-security.html						\
+	$(html_DATA)							\
+	$(ps_DATA)							\
 	locks.latex							\
 	paper1.latex							\
 	paper2.latex
 
-SUFFIXES = html latex
+SUFFIXES = .html .latex
 
 %.html : %.texinfo
-	${MAKEINFO} --html $<
+	${MAKEINFO} --html --no-split $<
 
 %.dvi : %.latex
 	${LATEX} $<