summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2024-02-25 11:30:50 +0100
committerLars-Dominik Braun <lars@6xq.net>2024-02-25 11:30:50 +0100
commit4c16c0031dbf71492b91ee52bed37ca2924fe90d (patch)
tree9562bd6b7fbc376d24fa0ee11e0742c1c7486cc5
parentb87802576fda0fecfb28f0a5f3825937fe5597ff (diff)
downloadeumel-4c16c0031dbf71492b91ee52bed37ca2924fe90d.tar.gz
eumel-4c16c0031dbf71492b91ee52bed37ca2924fe90d.tar.bz2
eumel-4c16c0031dbf71492b91ee52bed37ca2924fe90d.zip
Makefile: Remove partial output files.
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index bf250e1..df92968 100644
--- a/Makefile
+++ b/Makefile
@@ -18,20 +18,20 @@ $(BUILDDIR)/index.ttl: $(TTLFILES) | $(BUILDDIR)
cat $(TTLFILES) > $@
$(BUILDDIR)/bib.rst: $(BUILDDIR)/index.ttl tools/formatRefs.py | $(BUILDDIR)
- cat $(BUILDDIR)/index.ttl | ./tools/formatRefs.py https://6xq.net/eumel/ | sort -n > $(BUILDDIR)/bib.rst
+ cat $(BUILDDIR)/index.ttl | ./tools/formatRefs.py https://6xq.net/eumel/ | sort -n > $@ || rm $@
$(BUILDDIR)/software.html: $(BUILDDIR)/index.ttl tools/formatSoftware.py
- cat $(BUILDDIR)/index.ttl | ./tools/formatSoftware.py > $@
+ cat $(BUILDDIR)/index.ttl | ./tools/formatSoftware.py > $@ || rm $@
$(BUILDDIR)/assets/eumel-tagung-84-resized.jpg: assets/eumel-tagung-84.jpg | $(BUILDDIR)/assets
- convert -scale 1000x $< -quality 75 $@
+ convert -scale 1000x $< -quality 75 $@ || rm $@
$(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 \
--stylesheet=../style.min.css \
--template=./template.txt \
- --footnote-references=superscript < index.rst > $@
+ --footnote-references=superscript < index.rst > $@ || rm $@
links: $(STATICFILES) | $(BUILDDIR)/assets
ln -f $(STATICFILES) $(BUILDDIR)/assets