Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • j.f.j.laros/presentation
1 result
Show changes
Commits on Source (1)
...@@ -23,8 +23,11 @@ FONTSIZE := 20 ...@@ -23,8 +23,11 @@ FONTSIZE := 20
# Find the input files. # Find the input files.
SRC := $(basename $(shell grep -l '\\begin{document}' *.tex)) SRC := $(basename $(shell grep -l '\\begin{document}' *.tex))
PIC := $(basename $(shell ls *.dia)) DIA_PIC := $(basename $(shell ls *.dia))
GNP := $(basename $(shell ls *.gnp)) GNP := $(basename $(shell ls *.gnp))
PIC_EXT := .dot .gif .jpg .png .ppm .svg .xcf
PIC := $(foreach I, $(PIC_EXT), $(basename $(shell ls *$I)))
#PIC_EPS := $(addsuffix .eps, $(PIC))
# Output. # Output.
PDF := $(addsuffix .pdf, $(SRC)) PDF := $(addsuffix .pdf, $(SRC))
...@@ -33,13 +36,13 @@ DOC := $(addsuffix .docx, $(SRC)) ...@@ -33,13 +36,13 @@ DOC := $(addsuffix .docx, $(SRC))
# Temporary files. # Temporary files.
TMP := blg log nav out snm toc dvi aux idx vrb ps glg glo ist TMP := blg log nav out snm toc dvi aux idx vrb ps glg glo ist
PNG := $(addsuffix .png, $(PIC)) PNG := $(addsuffix .png, $(DIA_PIC))
TNP := $(addsuffix .tnp, $(GNP)) TNP := $(addsuffix .tnp, $(GNP))
# Semi-permanent files. # Semi-permanent files.
BIB := $(addsuffix .bbl, $(SRC)) BIB := $(addsuffix .bbl, $(SRC))
GLS := $(addsuffix .gls, $(GLS)) GLS := $(addsuffix .gls, $(GLS))
EPS := $(addsuffix .eps, $(PIC) $(GNP)) EPS := $(addsuffix .eps, $(DIA_PIC) $(GNP) $(PIC))
# Do not delete the semi-permanent files automatically. # Do not delete the semi-permanent files automatically.
.PRECIOUS: $(BIB) $(GLS) $(EPS) .PRECIOUS: $(BIB) $(GLS) $(EPS)
...@@ -76,6 +79,24 @@ release: all clean ...@@ -76,6 +79,24 @@ release: all clean
%.eps: %.png %.eps: %.png
$(CONVERT) $< $@ $(CONVERT) $< $@
%.eps: %.dot
$(CONVERT) $< $@
%.eps: %.gif
$(CONVERT) $< $@
%.eps: %.jpg
$(CONVERT) $< $@
%.eps: %.ppm
$(CONVERT) $< $@
%.eps: %.svg
$(CONVERT) $< $@
%.eps: %.xcf
$(CONVERT) $< $@
%.tnp: %.gnp $(DEP) %.tnp: %.gnp $(DEP)
echo "set terminal postscript color eps font \"default,$(FONTSIZE)\"" > $@ ;\ echo "set terminal postscript color eps font \"default,$(FONTSIZE)\"" > $@ ;\
cat $< >> $@ cat $< >> $@
......