s-news
[Top] [All Lists]

Re: Error in CHAPTER: unsupported file type rpart.d

To: Prof Brian D Ripley <ripley@stats.ox.ac.uk>
Subject: Re: Error in CHAPTER: unsupported file type rpart.d
From: Aldi Kraja <aldi@wubios.wustl.edu>
Date: Thu, 26 Jul 2001 11:41:39 -0500
Cc: S News Mailing List <s-news@wubios.wustl.edu>
Organization: Washington University
References: <Pine.WNT.4.31.0107261731580.1236-100000@tern.stats>
Reply-to: aldi@wubios.wustl.edu
Thank you Tim,
Aldi


I'll enter that as an enhancement request.

Here's some example code you might adapt for your own makefiles.


DFILES=  \
allequal.d asdfasn.d asdfbnd.d asdfinf.d asdfpow.d \
(list rest of .d files)

HFILES=$(patsubst %.d, %.sgml, $(DFILES))

.d.sgml:
        doc_to_S $< > $*.sgml


This takes the .d files listed, creates a make variable containing
a list of the same files but with .sgml extension (this is needed
by other parts of the makefile), and
runs doc_to_S to create the corresponding .sgml files which are needed
for the help system.

If patsubst doesn't work for you you might have to create the
list of .sgml files by hand.

========================================================
| Tim Hesterberg       Research Scientist              |
| timh@insightful.com  Insightful Corp.                |
| (206)283-8802x319    1700 Westlake Ave. N, Suite 500 |
| (206)283-6310 (fax)  Seattle, WA 98109-3044, U.S.A.  |
========================================================
Formerly known as MathSoft, Insightful Corporation provides analytical
solutions leveraging S-PLUS, StatServer, and Consulting services




<Prev in Thread] Current Thread [Next in Thread>