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
|
#
# Makefile for CFEngine's documentation
#
# This file is intended as a guide. You may need to modify it a little on your
# system. Note that you need the GNU texinfo package to run tex on this
# documentation!! Postscript and html versions are included since some people have had
# problems here.
#
version = @cfversion@
VPATH = @srcdir@
DOCS = @CFDOCS@
prefix = @prefix@
infodir = @infodir@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
MKINSTALLDIR = @top_srcdir@/bin/mkinstalldirs
MAKEINFO = @MAKEINFO@
TEX = @TEX@
LATEX = @LATEX@
TEXINDEX = @TEXINDEX@
DVIPS = @DVIPS@
TEXI2HTML = @TEXI2HTML@
CP = ln
RM = rm -f
RM1 = rm -f
RM2 = echo rm -f
RM3 = rm -f
# Needs to agree with VPATH
MAKEINFOFLAGS = -I@srcdir@
.SUFFIXES: .ps .info .html .dvi .texinfo .latex
all: ${DOCS}
install: cfengine.info
${MKINSTALLDIR} ${infodir}
for x in cfengine.info* ; \
do \
${INSTALL_DATA} $$x ${infodir}; \
done
dist: clean
${version}.ps: cfengine.ps
-${CP} cfengine.ps $@
${version}.html: cfengine.html
-${CP} cfengine.html $@
-${CP} cfengine_toc.html ${version}_toc.html
-${CP} cfengine_foot.html ${version}_foot.html
${version}.info: cfengine.info
-for x in cfengine.info* ; \
do \
${CP} $$x `echo $$x | sed "s/cfengine/${version}/"`; \
done
cfengine.dvi: version.texi
cfengine.html: version.texi
cfengine.info: version.texi
clean:
${RM} cf*.aux cf*.log cf*.cp
${RM} cf*.pg cf*.tp cf*.vr cf*.fn
${RM} cf*.ky cf*.toc cf*.cps cf*.vrs
${RM} cf*.fns cf*.mb cf*.mbs
${RM} *.log *.aux cf*.f cf*.fs *~
distclean: clean
${RM1} cfengine.info*
${RM2} cfengine.ps
${RM3} cfengine.html cfengine_toc.html cfengine_foot.html
${RM} *.dvi Makefile
.texinfo.html:
-${TEXI2HTML} $<
.dvi.ps:
${DVIPS} -f $< > $@
.texinfo.info:
-${MAKEINFO} ${MAKEINFOFLAGS} $<
.texinfo.dvi:
-${TEX} $<
-${TEXINDEX} $*.vr $*.mb $*.cp
echo rescanning || ${TEX} $<
.latex.dvi:
-${LATEX} $<
${LATEX} $<
|