"Fossies" - the Fresh Open Source Software Archive

Member "hevea-2.35/examples/Makefile" (16 Jan 2021, 6188 Bytes) of package /linux/www/hevea-2.35.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Makefile": 2.34_vs_2.35.

    1 LATEX=latex
    2 HEVEA=hevea
    3 BIBHVA=bibhva
    4 HEVEAOPTS=-fix -O -rsz 16
    5 HACHA=hacha
    6 EXDIR=$(HOME)/public_html/hevea/examples
    7 HTML=a.html pat.html suite.html env.html smile.html amstex.html graphics.html graphicx.html verbs.html style-test.html amssymb-test.html boxes.html
    8 HVA=env.hva  pat.hva  smile.hva  st.hva  suite-macros.hva
    9 STY=suite-macros.sty hevea.sty
   10 TEX=$(HTML:.html=.tex)
   11 DVI=a.dvi pat.dvi suite.dvi amstex.dvi verbs.dvi
   12 TEXT=a.txt pat.txt suite.txt env.txt
   13 INFO=$(TEXT:.txt=.info)
   14 PDF=boxes.pdf
   15 
   16 all: dvi html text info test-opt
   17 
   18 opt:
   19 	export HEVEADIR=.. ;\
   20 	$(MAKE) $(MFLAGS) HEVEAOPTS="$(HEVEAOPTS)" HEVEA=../hevea.opt HACHA=../hacha.opt BIBHVA=../bibhva.opt html
   21 
   22 byte:
   23 	export HEVEADIR=.. ;\
   24 	$(MAKE) $(MFLAGS)  HEVEAOPTS="$(HEVEAOPTS)" HEVEA=../hevea.byte HACHA=../hacha.byte BIBHVA=../bibhva.byte html
   25 
   26 dvi: $(DVI)
   27 
   28 SUITE=suite.html test.html di.html mp.html lis.html lis2.html\
   29  acc.html sym.html natbib.html list.html
   30 
   31 sym.html:sym.tex st.hva
   32 
   33 natbib.html: natbib.tex
   34 	$(HEVEA) $(HEVEAOPTS) natbib.tex
   35 	$(BIBHVA) natbib
   36 	$(HEVEA) $(HEVEAOPTS) natbib.tex
   37 
   38 test-opt:
   39 	export HEVEADIR=.. ;\
   40 	$(MAKE) $(MFLAGS) HEVEAOPTS="$(HEVEAOPTS)" HEVEA=../hevea.opt HACHA=../hacha.opt BIBHVA=../bibhva.opt test
   41 
   42 test: $(SUITE) cart-index.html cart-bis-index.html cart-ter-index.html cbook-index.html
   43 
   44 TDIR=$(HOME)/public_html/hevea/examples/test
   45 install-test:
   46 	-mkdir -p $(TDIR)
   47 	cp $(SUITE) $(TDIR)
   48 	mv $(TDIR)/test.html $(TDIR)/index.html
   49 	cp *_motif.gif $(TDIR)
   50 	cp cart-index.html cart.css cart[0-9][0-9][0-9].html  $(TDIR)
   51 	cp cart-bis-index.html cart-bis.css cart-bis[0-9][0-9][0-9].html  $(TDIR)
   52 	cp cart-ter-index.html cart-ter.css cart-ter[0-9][0-9][0-9].html  $(TDIR)
   53 	cp cbook-index.html cbook.css cbook[0-9][0-9][0-9].html  $(TDIR)
   54 
   55 clean-test::
   56 	/bin/rm -f $(SUITE) cart.html  cart-ter.html cart-bis.html cbook.html natbib.hbbl
   57 
   58 cart-index.html: cart.html
   59 	$(HACHA) -o cart-index.html cart.html
   60 
   61 cart-bis-index.html: cart-bis.html
   62 	$(HACHA) -tocbis -o cart-bis-index.html cart-bis.html
   63 
   64 cart-ter-index.html: cart-ter.html
   65 	$(HACHA) -tocbis -o cart-ter-index.html cart-ter.html
   66 
   67 cbook-index.html: cbook.html
   68 	$(HACHA) -o cbook-index.html cbook.html
   69 
   70 clean-test::
   71 	/bin/rm -f cart[0-9][0-9][0-9].html cart.css cart-index.html cart.htoc
   72 	/bin/rm -f cart-bis[0-9][0-9][0-9].html cart-bis.css cart-bis-index.html cart-bis.htoc
   73 	/bin/rm -f cart-ter[0-9][0-9][0-9].html cart-ter.css cart-ter-index.html cart-ter.htoc
   74 	/bin/rm -f cbook[0-9][0-9][0-9].html cbook.css cbook-index.html cbook.htoc
   75 	/bin/rm -f natbib.blg natbib.htoc suite.htoc sym.htoc
   76 
   77 clean:: clean-test
   78 
   79 byte-test:
   80 	export HEVEADIR=.. ;\
   81 	$(MAKE) $(MFLAGS)  HEVEAOPTS="$(TOPTS) $(HEVEAOPTS)" HEVEA=../hevea.byte HACHA=../hacha.byte BIBHVA=../bibhva.byte test
   82 
   83 opt-test:
   84 	export HEVEADIR=.. ;\
   85 	$(MAKE) $(MFLAGS)  HEVEAOPTS="$(TOPTS) $(HEVEAOPTS)" HEVEA=../hevea.opt HACHA=../hacha.opt BIBHVA=../bibhva.opt test
   86 
   87 
   88 
   89 html: $(HTML) index.html
   90 text: $(TEXT)
   91 info: $(INFO)
   92 
   93 install:
   94 	/bin/rm -rf $(EXDIR)
   95 	mkdir $(EXDIR)
   96 	cp *.gif *.png $(HTML) index.html sym.html tmp.css tmp*.html conclusion.html benchmarks.html hp.c $(EXDIR)
   97 	-cp $(TEXT) $(EXDIR)
   98 	cp Makefile $(TEX) pat.def  $(EXDIR)
   99 	cp $(DVI) $(EXDIR)
  100 	cp $(HVA) $(EXDIR)
  101 	cp $(STY) $(EXDIR)
  102 	$(MAKE) $(MFLAGS) install-test TDIR="$(EXDIR)/test"
  103 
  104 a.dvi: a.tex
  105 	$(LATEX) < /dev/null a.tex
  106 
  107 a.html: a.tex
  108 	$(HEVEA) $(HEVEAOPTS) a.tex
  109 
  110 a.txt : a.tex
  111 	$(HEVEA) $(HEVEAOPTS) -text a.tex
  112 
  113 a.info : a.tex
  114 	$(HEVEA) $(HEVEAOPTS) -info a.tex
  115 
  116 tmp.tex: pat.def pat.tex
  117 	gpic -t < pat.tex > tmp.tex
  118 
  119 hevea.sty: ../hevea.sty
  120 	cp ../hevea.sty .
  121 
  122 tmp.bbl pat.dvi: tmp.tex hevea.sty
  123 	$(LATEX) tmp.tex < /dev/null
  124 	bibtex tmp ;
  125 	$(LATEX) tmp.tex < /dev/null
  126 	$(LATEX) tmp.tex < /dev/null
  127 	mv tmp.dvi pat.dvi
  128 
  129 tmp.html: tmp.tex pat.hva tmp.bbl 
  130 	$(HEVEA) $(HEVEAOPTS) pat.hva -e pat.def tmp.tex
  131 pat.txt: tmp.tex pat.hva tmp.bbl 
  132 	$(HEVEA) $(HEVEAOPTS) -text pat.hva -e pat.def -o pat.txt tmp.tex
  133 pat.info: tmp.tex pat.hva tmp.bbl 
  134 	$(HEVEA) $(HEVEAOPTS) -info pat.hva -e pat.def -o pat.info tmp.tex
  135 
  136 pat.html: tmp.html
  137 	$(HACHA) -o pat.html tmp.html
  138 
  139 tenv.tex: env.tex
  140 	gpic -t < env.tex > tenv.tex
  141 
  142 env.dvi:tenv.tex 
  143 	$(LATEX) < /dev/null tenv.tex
  144 	mv tenv.dvi env.dvi
  145 
  146 env.html: env.hva tenv.tex
  147 	$(HEVEA) $(HEVEAOPTS) env.hva -o env.html tenv.tex
  148 env.txt env.info:
  149 
  150 
  151 tsmile.tex: smile.tex
  152 	gpic -t < smile.tex > tsmile.tex
  153 
  154 smile.dvi:tsmile.tex 
  155 	$(LATEX) < /dev/null tsmile.tex
  156 	mv tsmile.dvi smile.dvi
  157 
  158 smile.html: smile.hva tsmile.tex
  159 	$(HEVEA) $(HEVEAOPTS) smile.hva -o smile.html tsmile.tex
  160 smile.txt smile.info:
  161 
  162 suite.dvi: suite.tex
  163 	$(LATEX) < /dev/null suite.tex
  164 	makeindex suite
  165 	$(LATEX) < /dev/null suite.tex
  166 	$(LATEX) < /dev/null suite.tex
  167 
  168 suite.html: suite.tex
  169 	$(HEVEA) $(HEVEAOPTS) suite.tex
  170 suite.txt: suite.tex
  171 	$(HEVEA) $(HEVEAOPTS) -text suite.tex
  172 suite.info: suite.tex
  173 	$(HEVEA) $(HEVEAOPTS) -info suite.tex
  174 
  175 amstex.dvi: amstex.tex
  176 	latex < /dev/null amstex.tex
  177 
  178 amstex.html: amstex.tex
  179 	$(HEVEA) $(HEVEAOPTS) amstex
  180 
  181 amstex.txt: amstex.tex
  182 	$(HEVEA) $(HEVEAOPTS) -text amstex
  183 amstex.info: amstex.tex
  184 	$(HEVEA) $(HEVEAOPTS) -info amstex
  185 
  186 HF.ps: HF.ps.gz
  187 	gunzip < HF.ps.gz > HF.ps
  188 
  189 graphics.dvi: graphics.tex HF.ps
  190 	latex < /dev/null graphics.tex
  191 
  192 
  193 graphics.html: graphics.tex HF.ps
  194 	$(HEVEA) $(HEVEAOPTS) graphics
  195 graphics.txt graphics.info:
  196 
  197 graphicx.dvi: HF.ps graphicx.tex
  198 	latex < /dev/null graphicx.tex
  199 
  200 graphicx.html: graphicx.tex HF.ps
  201 	$(HEVEA) $(HEVEAOPTS) png.hva graphicx
  202 graphicx.txt graphicx.info:
  203 
  204 verbs.dvi: verbs.tex
  205 	latex < /dev/null verbs.tex
  206 
  207 verbs.html: verbs.tex
  208 	$(HEVEA) $(HEVEAOPTS) verbs
  209 
  210 verbs.txt verbs.info:
  211 
  212 index.html: index.tex
  213 	$(HEVEA) $(HEVEAOPTS) index.tex
  214 
  215 #############
  216 pdf: $(PDF)
  217 
  218 ##############Clean
  219 cleanhtml:
  220 	rm -f $(HTML) index.html tmp.html tmp*.html conclusion.html benchmarks.html
  221 cleantext:
  222 	rm -f $(TEXT)
  223 cleaninfo:
  224 	rm -f *.info *.info-*
  225 cleanpdf:
  226 	rm -f $(PDF)
  227 
  228 clean:: cleanhtml cleantext cleaninfo cleanpdf
  229 	rm -f *.aux *.log *.dvi *~ *.gif *.pnm *.png *.bbl tmp.* tenv.* tsmile.* *.ilg *.ind *.idx *.image.tex  *.tid HF.ps *.haux *.hidx *.hind *.cut contents_motif.svg next_motif.svg previous_motif.svg
  230 
  231 
  232 .SUFFIXES: .tex .html .pdf
  233 
  234 .tex.html:
  235 	$(HEVEA) -fix $(HEVEAOPTS) $<
  236 
  237 .tex.pdf:
  238 	rubber -d -f  $<