# -*- sh -*- FILES = jedfuns libfuns quickref SL_LIBDIR = ../../lib TM2SGML = /aluche/d1/web/tm-dist/bin/tmexpand INCDIR = -I/aluche/d1/web/tm-dist/macros/ TM_FILES = $(addsuffix .tm,$(FILES)) SGML_FILES = $(addsuffix .sgml,$(FILES)) HTML_FILES = $(addsuffix .html,$(FILES)) TXT_FILES = $(addsuffix .txt,$(FILES)) TEX_FILES = $(addsuffix .tex,$(FILES)) RM = /bin/rm MV = /bin/mv CP = /bin/cp SGML2LATEX = sgml2latex SGML2HTML = sgml2html SGML2TXT = sgml2txt -f TM2TXT = tm2txt #$(HOME)/src/slang/doc/tm/tools/$(ARCH)objs/tm2txt SL2TM = sl2tm text: jedfuns.txt libfuns.txt all: $(HTML_FILES) $(TEX_FILES) jedfuns.txt : jedfuns.tm $(TM2TXT) rtl/*.tm > jedfuns.txt libfuns.txt : $(SL2TM) -sl $(SL_LIBDIR)/*.sl | $(TM2TXT) > libfuns.txt # %.tex : %.sgml $(SGML2LATEX) $*.sgml %.html : %.sgml $(SGML2HTML) $*.sgml %.txt : %.sgml $(SGML2TXT) $*.sgml %.sgml : %.tm $(TM2SGML) $(INCDIR) $*.tm $@ < /dev/null clean: -rm -f *~ *.dvi *.log *.aux *.toc rtl/*.BAK rtl/*~ *.html *.txt