summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 72c0224..bf250e1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,19 @@
BUILDDIR:=_build
-STATICFILES:=01_readme_INSTALL.txt releases.svg eumel_logo.svg eumel_logo_2.svg
+STATICFILES:=assets/01_readme_INSTALL.txt \
+ assets/releases.svg \
+ assets/eumel_logo.svg \
+ assets/eumel_logo_2.svg \
+ assets/eumel-tagung-84.jpg
TTLFILES:=$(shell find ttl -name '*.ttl' | sort)
-all: $(BUILDDIR)/index.html links
+all: $(BUILDDIR)/index.html $(BUILDDIR)/assets/eumel-tagung-84-resized.jpg links
$(BUILDDIR):
mkdir -p $(BUILDDIR)
+$(BUILDDIR)/assets:
+ mkdir -p $@
+
$(BUILDDIR)/index.ttl: $(TTLFILES) | $(BUILDDIR)
cat $(TTLFILES) > $@
@@ -16,6 +23,9 @@ $(BUILDDIR)/bib.rst: $(BUILDDIR)/index.ttl tools/formatRefs.py | $(BUILDDIR)
$(BUILDDIR)/software.html: $(BUILDDIR)/index.ttl tools/formatSoftware.py
cat $(BUILDDIR)/index.ttl | ./tools/formatSoftware.py > $@
+$(BUILDDIR)/assets/eumel-tagung-84-resized.jpg: assets/eumel-tagung-84.jpg | $(BUILDDIR)/assets
+ convert -scale 1000x $< -quality 75 $@
+
$(BUILDDIR)/index.html: $(BUILDDIR)/software.html $(BUILDDIR)/bib.rst history.rst artifacts.rst popularity.rst hardware.rst internals.rst index.rst software.rst about.rst trivia.rst quickstart.rst overview.rst
rst2html5.py --cloak-email-addresses --math-output=mathjax \
--syntax-highlight=short --link-stylesheet \
@@ -23,8 +33,8 @@ $(BUILDDIR)/index.html: $(BUILDDIR)/software.html $(BUILDDIR)/bib.rst history.rs
--template=./template.txt \
--footnote-references=superscript < index.rst > $@
-links: $(STATICFILES) | $(BUILDDIR)
- ln -f $(STATICFILES) $(BUILDDIR)
+links: $(STATICFILES) | $(BUILDDIR)/assets
+ ln -f $(STATICFILES) $(BUILDDIR)/assets
.PHONY: clean links