Changeset 4564d75 in report


Ignore:
Timestamp:
Mar 9, 2010 4:04:59 PM (8 years ago)
Author:
Marco Túlio Gontijo e Silva <marcot@…>
Branches:
h98
Parents:
f130124
Message:

Correct build.

Files:
9 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rf130124 r4564d75  
    1 RELEASE_DIR = haskell98-revised
     1PREFIX = haskell98-revised
     2RELEASE_DIR = $(PREFIX)
    23JFP_DIR = jfp-release
    34
     5install:
     6        $(MAKE) -C tools
     7        $(MAKE) -C report install
     8
     9clean:
     10        $(MAKE) -C tools clean
     11        $(MAKE) -C report clean
     12
    413release:
     14        (cd tools; make)
    515        (cd report; make release)
     16        touch libraries/library.idx
    617        (cd libraries; make release)
    7         (cd jfp-release; make)
    8         cp h98-revised.html $(RELEASE_DIR)/index.html
    9         cp haskell98-bugs.html h98.gif $(RELEASE_DIR)
    10         gzip < jfp-release/h98-book.ps > $(RELEASE_DIR)/h98-book.ps.gz
    11         gzip < jfp-release/h98-book.pdf > $(RELEASE_DIR)/h98-book.pdf.gz
     18        cp report/h98-revised.html $(RELEASE_DIR)/index.html
    1219
    1320jfp:
  • ffi/Makefile

    rf130124 r4564d75  
     1
     2all: ffi.ps ffi.pdf
     3
    14threads.ps: threads.tex
    25        TEXINPUTS=../styles: latex threads.tex
    36        dvips -f < threads.dvi > threads.ps
    47
     8ffi.pdf: ffi.ps
     9        ps2pdf ffi.ps ffi.pdf
     10
    511ffi.ps: ffi.tex
     12        TEXINPUTS=../styles: latex ffi.tex
     13        bibtex ffi
     14        TEXINPUTS=../styles: latex ffi.tex
    615        TEXINPUTS=../styles: latex ffi.tex
    716        dvips -f < ffi.dvi > ffi.ps
     
    4049.PHONY: clean
    4150clean:
    42         -rm -f *.aux *.log *.blg *.dvi *.bbl *.toc *.ps *.html *.css *.png *.4ct *.4tc *.idv *.xref tex4ht.fls
     51        -rm -f *.aux *.log *.blg *.dvi *.bbl *.toc *.ps *.html *.css *.png *.4ct *.4tc *.idv *.xref tex4ht.fls *.pdf
  • hierarchical-modules/Makefile

    rf130124 r4564d75  
    88        TEXINPUTS=../styles: pdflatex $<
    99
    10 clean :
    11         rm hier.ps hier.pdf
     10.PHONY: clean
     11clean:
     12        -rm -f *.aux *.log *.blg *.dvi *.bbl *.toc *.ps *.css *.png *.4ct *.4tc *.idv *.xref tex4ht.fls *.pdf
  • report/Makefile

    rf130124 r4564d75  
    4141#########################################
    4242
    43 RELEASE_DIR = ../haskell98-revised
     43PREFIX = ../haskell98-revised
     44RELEASE_DIR = $(PREFIX)
     45PS_DIR = $(RELEASE_DIR)
     46PDF_DIR = $(RELEASE_DIR)
     47HTML_DIR = $(RELEASE_DIR)/html
    4448JFP_DIR = ../jfp-release
    4549
     
    100104
    101105# I have no idea why run_tex is run twice.  SLPJ
    102 html: index.html ${PARTS} ${SYNTAX} ${PRELUDE}
     106html: index.html haskell.dvi ${PARTS} ${SYNTAX} ${PRELUDE}
    103107        -mkdir haskell98-report-html
    104108        $(RUN_TEX)
     
    118122
    119123# Can't use pdflatex because of eps inclusion
    120 
    121 release: haskell.ps html
     124haskell.pdf : haskell.ps
     125        ps2pdf haskell.ps haskell.pdf
     126
     127install: haskell.ps haskell.pdf html
     128        mkdir -p $(PS_DIR) $(PDF_DIR) $(HTML_DIR)
     129        cp haskell.ps $(PS_DIR)/haskell98-report.ps
     130        cp haskell.pdf $(PDF_DIR)/haskell98-report.pdf
     131        cp -r haskell98-report-html $(HTML_DIR)
     132        cp h98-revised.html $(HTML_DIR)/index.html
     133        cp haskell98-bugs.html h98.gif $(HTML_DIR)
     134        cp haskell98-revised-bugs.html $(HTML_DIR)
     135
     136
     137release: haskell.ps html $(RELEASE_DIR)
    122138        ps2pdf haskell.ps
    123139        gzip < haskell.ps > $(RELEASE_DIR)/haskell.ps.gz
     
    129145        cp haskell98-revised-bugs.html h98.gif $(RELEASE_DIR)
    130146
     147$(RELEASE_DIR):
     148        mkdir $@
     149
    131150publish-pdf: report.pdf
    132151        gzip < report.pdf > y:Haskell/haskell98-report/report.pdf.gz
     
    141160
    142161clean:
     162        $(RM) $(PRELUDE) reportrefs
    143163        $(RM) *.dvi *.log *.aux *.ilg *.blg *.toc ${PARTS} $(SYNTAX) \
    144                 haskell.tex haskell.ps haskell.pdf *.o lex.yy.c haskell98-report-html/*
    145         cp haskell.ind haskell.ind.two-sided
    146         echo "Don't delete the Prelude*.tex files"
    147         echo "Not everyone has \"perl\" to re-make them"
     164                haskell.tex haskell.ps haskell.pdf *.o lex.yy.c haskell.ind
     165        $(RM) -r haskell98-report-html/
     166        $(RM) lib-code/*.tex lib-hdrs/*.tex
    148167
    149168
     
    168187
    169188.tex.dvi:
     189        $(LATEX) $<
     190        $(LATEX) $<
    170191        $(LATEX) $<
    171192
  • report/h98-revised.html

    rf130124 r4564d75  
    2929<ul>
    3030<li> <a href="haskell98-report-html/index.html">HTML</a>
    31 <li> <a href="haskell.ps.gz">Gzipped Postscript</a>
    32 <li> <a href="haskell.pdf">PDF</a>
     31<li> <a href="../haskell98-report.ps.gz">Gzipped Postscript</a>
     32<li> <a href="../haskell98-report.pdf.gz">Gzipped PDF</a>
    3333<li> <a href="haskell98-revised-bugs.html">A complete list of all bugs</a> (found so far)
    3434
    3535</ul>
    36 <p>
    37 <li> <a href="haskell98-report-html.tar.gz">Gzipped tar bundle of the HTML sources</a> for local browsing.
    3836
    3937<p><li>
  • report/haskell.idx

    rf130124 r4564d75  
    13891389\indexentry{Read@{\tt  Read} (class)!instance for {\tt Array}}{178}
    13901390\indexentry{List@{\tt  List} (module)}{180}
    1391 \indexentry{\\@{\tt  {\char'134}{\char'134}}}{180}
     1391\indexentry{\\\\@{\tt  {\char'134}{\char'134}}}{180}
    13921392\indexentry{elemIndex@{\tt  elemIndex}}{180}
    13931393\indexentry{elemIndices@{\tt  elemIndices}}{180}
     
    13991399\indexentry{delete@{\tt  delete}}{180}
    14001400\indexentry{deleteBy@{\tt  deleteBy}}{180}
    1401 \indexentry{\\@{\tt  {\char'134}{\char'134}}}{180}
     1401\indexentry{\\\\@{\tt  {\char'134}{\char'134}}}{180}
    14021402\indexentry{deleteFirstsBy@{\tt  deleteFirstsBy}}{180}
    14031403\indexentry{union@{\tt  union}}{180}
     
    14741474\indexentry{List@{\tt  List} (module)}{186}
    14751475\indexentry{Maybe@{\tt  Maybe} (module)}{186}
    1476 \indexentry{\\@{\tt  {\char'134}{\char'134}}}{186}
     1476\indexentry{\\\\@{\tt  {\char'134}{\char'134}}}{186}
    14771477\indexentry{elemIndex@{\tt  elemIndex}}{186}
    14781478\indexentry{elemIndices@{\tt  elemIndices}}{186}
     
    14841484\indexentry{delete@{\tt  delete}}{187}
    14851485\indexentry{deleteBy@{\tt  deleteBy}}{187}
    1486 \indexentry{\\@{\tt  {\char'134}{\char'134}}}{187}
     1486\indexentry{\\\\@{\tt  {\char'134}{\char'134}}}{187}
    14871487\indexentry{deleteFirstsBy@{\tt  deleteFirstsBy}}{187}
    14881488\indexentry{union@{\tt  union}}{187}
  • tools/Makefile

    rf130124 r4564d75  
    1515all : verbatim run_tex run_index
    1616
     17clean:
     18        rm -f *.hi *.o verbatim verbatim.c run_tex run_index
     19
    1720verbatim: verbatim.lex
    1821        $(LEX) $(LEX_OPTS) verbatim.lex > verbatim.c || ( rm -f verbatim.c && exit 1 )
     
    2124
    2225run_tex: tex.hs
    23         $(GHC) -o run_tex tex.hs -fglasgow-exts -H20m -package lang
     26        $(GHC) -o run_tex tex.hs -fglasgow-exts -H20m
    2427
    2528run_index: index.hs
  • tools/tex.hs

    rf130124 r4564d75  
    8383import Char(isSpace, isAlpha, isDigit)
    8484
    85 import IOExts(unsafePerformIO)  -- debugging only
     85-- import IOExts(unsafePerformIO)  -- debugging only
    8686
    8787data FontStyle = RM | IT | TT | Bold | Sym | UL
Note: See TracChangeset for help on using the changeset viewer.