tSimplify Makefile by removing EPS and DVI output recipes - scibeamer - quickly create scientific presentations using LateX and Beamer
(HTM) git clone git://src.adamsgaard.dk/scibeamer
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 4dc5db55353dae1c0f283d0e7a57152cfd2ddf99
(DIR) parent ffd2b45f735d54174aeeb60ae97a597b92078566
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 17 Sep 2019 11:56:08 +0200
Simplify Makefile by removing EPS and DVI output recipes
Diffstat:
M Makefile | 44 ++++---------------------------
1 file changed, 5 insertions(+), 39 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
t@@ -1,54 +1,18 @@
NAME=template
-default: pdf
-all: dvi eps pdf
-dvi: $(NAME).dvi
-eps: $(NAME).eps
-pdf: $(NAME).pdf
-
-view: view-pdf
-#view: view-dvi
-#view: view-eps
+default: $(NAME).pdf
edit: $(NAME).tex Makefile
$(EDITOR) $^
-$(NAME).eps: $(NAME).dvi
- dvips -o $@ $<
-
-#$(NAME).pdf: $(NAME).dvi
-# #ps2pdf $< $@
-# dvipdfm $<
-
-#$(NAME).pdf: $(NAME).eps
-# #ps2pdf $< $@
-# epstopdf $<
-
-$(NAME).dvi: *.tex
- #sh ./epstopdf.sh pdflatex $(NAME).tex
- latex $(NAME).tex
- bibtex $(NAME).aux
- latex $(NAME).tex
- latex $(NAME).tex
-
$(NAME).pdf: $(NAME).aux
pdflatex $(NAME).tex
-$(NAME).bbl: $(NAME).aux
- bibtex $(NAME).aux
- pdflatex $(NAME).tex
-
$(NAME).aux: $(NAME).tex graphics/*
pdflatex $(NAME).tex
-view-pdf: $(NAME).pdf
- open $< ; xdg-open $< &
-
-view-dvi: $(NAME).dvi
- xdvi -background white -foreground black $< &
-
-view-eps: $(NAME).eps
- gv $< &
+view: $(NAME).pdf
+ xdg-open $< &
clean:
$(RM) $(NAME).pdf
t@@ -63,3 +27,5 @@ clean:
$(RM) $(NAME).nav
$(RM) $(NAME).snm
$(RM) $(NAME).vrb
+
+.PHONY: default edit view clean