Ignore:
Timestamp:
Feb 1, 2018, 1:48:37 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
d0a045c
Parents:
cc344be
Message:

Documented makefile for my thesis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/thierry_delisle/Makefile

    rcc344be re76bd39  
    122122        fig2dev -L pstex_t -p $@ $< > $@_t
    123123
     124#-----------------------------------------------------------------------------------
     125# Tools to generate png files
     126# to create a png we create a pdf and convert it to png
     127%.png : build/%.pstex figures/%.tex
     128        echo ${basename $@}
     129        ${LaTeX} figures/${basename $@}.tex
     130        dvips build/${basename $@}.dvi -o build/${basename $@}.ps
     131        ps2pdf build/${basename $@}.ps
     132        convert -negate ${basename $@}.pdf $@
     133
     134# creating a pdf of a figure requires generating some latex that just includes the figure
    124135figures/%.tex: build/%.pstex
    125136        echo -n         "\documentclass[preview]{standalone}\n"         \
     
    134145                        "\end{document}" > $@
    135146
    136 %.png : build/%.pstex figures/%.tex
    137         echo ${basename $@}
    138         ${LaTeX} figures/${basename $@}.tex
    139         dvips build/${basename $@}.dvi -o build/${basename $@}.ps
    140         ps2pdf build/${basename $@}.ps
    141         convert -negate ${basename $@}.pdf $@
    142 
    143147
    144148
Note: See TracChangeset for help on using the changeset viewer.