"Fossies" - the Fresh Open Source Software Archive

Member "hevea-2.35/Makefile" (16 Jan 2021, 1464 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 #### Standard configuration parameters
    2 # Compile using ocamlopt, to use ocamlc set TARGET=byte
    3 TARGET=opt
    4 # Install prefix
    5 PREFIX?=/usr/local
    6 # Library directory of hevea
    7 LIBDIR=$(PREFIX)/lib/hevea
    8 # Where to install programms
    9 BINDIR=$(PREFIX)/bin
   10 #Where to install hevea.sty
   11 LATEXLIBDIR=$(PREFIX)/lib/hevea
   12 ##### Advanced configuration parameters
   13 SUF=
   14 DIR=
   15 OCAMLC=$(DIR)ocamlc$(SUF)
   16 #OCAMLFLAGS=-w +a-4-9 -warn-error +a
   17 OCAMLFLAGS=-w +a-3-4-9-41-45-67
   18 OCBFLAGS=-j 4 -classic-display
   19 
   20 #### End of configuration parameters
   21 #### The Makefile uses ocamlbuild if present.
   22 PGM=hevea.byte hacha.byte esponja.byte bibhva.byte
   23 PGMNATIVE=$(PGM:.byte=.native)
   24 
   25 all: $(TARGET)
   26 
   27 install: config.sh
   28 	./install.sh $(TARGET)
   29 
   30 byte: ocb-byte
   31 opt: ocb-opt
   32 both: ocb-both
   33 
   34 include libs.def
   35 
   36 config.sh: Makefile libs.def handle402.sh
   37 	@( cat handle402.sh &&\
   38 	echo PGM=\"$(PGM)\" &&\
   39 	echo PGMNATIVE=\"$(PGMNATIVE)\" &&\
   40 	echo BINDIR=$(BINDIR) &&\
   41 	echo LIBDIR=$(LIBDIR) &&\
   42 	echo LATEXLIBDIR=$(LATEXLIBDIR) &&\
   43 	echo OCAMLFLAGS=\"$(OCAMLFLAGS)\" &&\
   44 	echo OCBFLAGS=\"$(OCBFLAGS)\" &&\
   45 	echo ALLLIB=\"$(ALLLIB)\" && \
   46 	echo HTMLLIB=\"$(HTMLLIB)\" && \
   47 	echo TEXTLIB=\"$(TEXTLIB)\" && \
   48 	echo INFOLIB=\"$(INFOLIB)\") > $@
   49 
   50 clean:: config.sh
   51 	sh ocb.sh clean && rm -f config.sh
   52 
   53 ocb-byte: config.sh
   54 	sh ocb.sh byte
   55 
   56 ocb-opt: config.sh
   57 	sh ocb.sh opt
   58 
   59 ocb-both: config.sh
   60 	sh ocb.sh both
   61 
   62 ocb: ocb-$(TARGET)
   63 
   64 
   65 clean::
   66 	rm -f *~ #*# html/*~ html/#*# text/*~ text/#*# info/*~ info/#*# 
   67 
   68