Don't leave the RSS / HTML pages empty if generation fails

This commit is contained in:
Steve Purcell 2013-04-17 11:31:09 +01:00
parent 701c1ae0b4
commit 7c8d821559

View file

@ -4,10 +4,10 @@ SHELL := /bin/bash
all: index.html updates.rss
index.html: index.html.erb
erb index.html.erb > index.html
erb index.html.erb > index.html.tmp && mv index.html.tmp index.html
updates.rss: updates.rss.erb
erb updates.rss.erb > updates.rss
erb updates.rss.erb > updates.rss.tmp && mv updates.rss.tmp updates.rss
clean:
-rm -v index.html updates.rss