summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/sidecap/Makefile
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/sidecap/Makefile
Initial commit
Diffstat (limited to 'macros/latex/contrib/sidecap/Makefile')
-rw-r--r--macros/latex/contrib/sidecap/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/macros/latex/contrib/sidecap/Makefile b/macros/latex/contrib/sidecap/Makefile
new file mode 100644
index 0000000000..acdb8b2fdf
--- /dev/null
+++ b/macros/latex/contrib/sidecap/Makefile
@@ -0,0 +1,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) $<
+