Skip to content

Commit 657bc09

Browse files
author
Michael Tiller
committed
Merge pull request #204 from dietmarw/cleanUpImageLocations
Clean up image locations
2 parents b2308f1 + 6d4b274 commit 657bc09

22 files changed

+38
-30
lines changed

text/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ BUILDDIR = build
1010
# Variables for the SVG2PDF generation
1111
SOURCEDIR = source
1212
#IMAGEDIRS can be a list of directories that contain SVG files and are relative to the SOURCEDIR
13-
IMAGEDIRS = docs-dir/Icons $(shell find $(SOURCEDIR)/ModelicaByExample/ -name "*.svg" -exec dirname {} ";" | sort -u)
13+
IMAGEDIRS = docs-dir/Icons source/_static/img $(shell find $(SOURCEDIR)/ModelicaByExample/ -name "*.svg" -exec dirname {} ";" | sort -u)
1414

1515
# SVG to PDF conversion
1616
SVG2PDF = rsvg-convert
@@ -234,6 +234,7 @@ latex: latex-letter latex-a4
234234
latex-letter: specs results images
235235
@echo
236236
@echo "Applying horrible LaTeX hack..."
237+
-mkdir build
237238
git checkout $(SOURCEDIR)/index.rst # make sure we have pristine index.rst
238239
cp $(SOURCEDIR)/index.rst $(BUILDDIR)/index.rst.orig
239240
(echo "#####\nDUMMY\n#####"; cat $(BUILDDIR)/index.rst.orig) > $(SOURCEDIR)/index.rst
@@ -250,6 +251,7 @@ latex-letter: specs results images
250251
latex-a4: specs results images
251252
@echo
252253
@echo "Applying horrible LaTeX hack..."
254+
-mkdir build
253255
git checkout $(SOURCEDIR)/index.rst # make sure we have pristine index.rst
254256
cp $(SOURCEDIR)/index.rst $(BUILDDIR)/index.rst.orig
255257
(echo "#####\nDUMMY\n#####"; cat $(BUILDDIR)/index.rst.orig) > $(SOURCEDIR)/index.rst

text/source/_static/favicon.ico

-4.5 KB
Binary file not shown.
File renamed without changes.
File renamed without changes.
-19 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)