The R Project SVN R

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
18063 ripley 1
#-*- Makefile -*-
2
# Makefile for building docfiles
3
 
21917 ripley 4
docfiles: FAQs
18063 ripley 5
 
22670 ripley 6
RPREFIX = $(shell perl fixed/rwver.pl ../../VERSION)
18063 ripley 7
SED=sed
8
RVER = `cut -d' ' -f1 ../../VERSION | sed -n 1p`
9
 
10
SEDVER = -e s/@RVER@/$(RVER)/g -e s/@RWVER@/$(RPREFIX)/g
11
 
28070 ripley 12
FAQs: rw-FAQ ../../doc/html/rw-FAQ.html
18063 ripley 13
 
28070 ripley 14
../../doc/html/rw-FAQ.html: rw-FAQ.texi ../../VERSION
15
	@$(SED) $(SEDVER) $< | \
16
	  makeinfo --no-split --html --no-headers --number-sections -o $@ 
18063 ripley 17
 
22670 ripley 18
rw-FAQ: rw-FAQ.texi ../../VERSION
18063 ripley 19
	$(SED) $(SEDVER) $< | \
20
	  makeinfo --no-headers --number-sections -o $@