Makefile
changeset 28 06ced28bcbb8
parent 21 e5d2bd8b5c6f
child 29 f5fb56d00192
equal deleted inserted replaced
27:939cac0f3638 28:06ced28bcbb8
     1 
     1 
     2 ALL = mk2014.pdf
     2 ALL = handout.pdf beamer.pdf
     3 
     3 
     4 # input
     4 # input
     5 CONF   = $(wildcard conf/*.conf)
     5 CONF   = $(wildcard conf/*.conf)
     6 FRAMES = $(wildcard frames/*tex)
     6 FRAMES = $(wildcard frames/*tex)
     7 OUT    = $(wildcard out/*)
     7 OUT    = $(wildcard out/*)
    10 
    10 
    11 .PHONY: clean
    11 .PHONY: clean
    12 
    12 
    13 all:		$(ALL)
    13 all:		$(ALL)
    14 clean:
    14 clean:
    15 	rubber --clean mk2014.tex
    15 	rubber --clean handout.tex beamer.tex
    16 	-rm -f *.vrb $(IMAGES)
    16 	-rm -f *.vrb $(IMAGES)
    17 
    17 
    18 distclean:	clean
    18 distclean:	clean
    19 	rubber --clean -d mk2014.tex
    19 	rubber --clean -d mk2014.tex
    20 
    20 
    21 mk2014.pdf:	mk2014.tex $(IMAGES) $(FRAMES) $(CONF) $(OUT)
    21 beamer.pdf handout.pdf:	mk2014.tex $(IMAGES) $(FRAMES) $(CONF) $(OUT)
    22 
    22 
    23 %.pdf:	%.tex
    23 %.pdf:	%.tex
    24 	rubber -f -d $<
    24 	rubber -f -d $<
    25 
    25 
    26 %.pdf:	dia/%.dia
    26 %.pdf:	dia/%.dia