| 51898 |
ripley |
1 |
#-*- Makefile -*-
|
|
|
2 |
|
|
|
3 |
include MkRules
|
|
|
4 |
|
|
|
5 |
RVER = $(shell cut -d' ' -f1 ../../VERSION | sed -n 1p)
|
| 51899 |
ripley |
6 |
#RPREFIX = $(shell ../../tools/GETRWVERSION ../../VERSION)
|
|
|
7 |
RPREFIX = $(shell ../../bin$(R_ARCH)/Rscript fixed/rwver.R)
|
| 51898 |
ripley |
8 |
SEDVER = -e s/@RVER@/$(RVER)/g -e s/@RWVER@/$(RPREFIX)/g
|
|
|
9 |
|
|
|
10 |
all: rw-FAQ ../../doc/html/rw-FAQ.html
|
|
|
11 |
|
|
|
12 |
../../doc/html/rw-FAQ.html: rw-FAQ.texi ../../VERSION ../../doc/manual/Rman.css
|
|
|
13 |
@echo "making rw-FAQ.html"
|
|
|
14 |
@$(SED) $(SEDVER) $< | \
|
|
|
15 |
makeinfo --no-split --html --no-headers --number-sections --css-include=../../doc/manual/Rman.css -o $@
|
|
|
16 |
|
|
|
17 |
rw-FAQ: rw-FAQ.texi ../../VERSION
|
|
|
18 |
@echo "making rw-FAQ"
|
|
|
19 |
@$(SED) $(SEDVER) $< | \
|
|
|
20 |
makeinfo --no-headers --number-sections -o $@
|
|
|
21 |
|
|
|
22 |
rw-FAQ.pdf: rw-FAQ.texi ../../VERSION
|
|
|
23 |
@$(SED) $(SEDVER) $< > tmp.texi
|
|
|
24 |
@$(TEXI2DVI) --pdf tmp.texi
|
|
|
25 |
@$(TEXI2DVI) --pdf tmp.texi
|
|
|
26 |
@mv tmp.pdf $@
|
|
|
27 |
@rm tmp.*
|