summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/sidecap/Makefile
blob: acdb8b2fdfa00b65a04a6fe67eb309babfaa1f39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

# Makefile for sidecap examples, 2003-02-21, RN

LATEX = elatex

ifneq ($(findstring pdf,$(MAKECMDGOALS)),)
  LATEX = pdfelatex
  PICS := $(PICS:.eps=.pdf)
endif 

PS = sc-test1.ps sc-test2.ps sc-test3.ps sc-test4.ps sc-test5.ps sc-test6.ps

all : $(PS)

pdf : $(PS:.ps=.pdf)

%.ps : %.dvi
	dvips -Pwww $< -o $@
	
%.dvi %.pdf : %.tex sc-test-common.tex
	$(LATEX) $<
	$(LATEX) $<