summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-05-14 14:59:50 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-05-14 14:59:50 +0200
commitd0fd5bcfead2c31562ffe9ea1feb94ce976bcfc3 (patch)
treee8c832b8f8dc6dc34b383bb15373f0629107529c /Makefile
parent9391e53cd3e31464f5315749a359af462000d261 (diff)
downloadalpine-mksite-d0fd5bcfead2c31562ffe9ea1feb94ce976bcfc3.tar.bz2
alpine-mksite-d0fd5bcfead2c31562ffe9ea1feb94ce976bcfc3.tar.xz
fix generation of atom.xml
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 86d3da4..53399af 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ releases_yaml = $(archs:%=releases.%.yaml)
releases_url := http://nl.alpinelinux.org/alpine/latest-stable/releases
releases_url_suffix = $(@:releases.%.yaml=%/latest-releases.yaml)
-all: $(pages) $(static_out) atom.xml
+all: $(pages) $(static_out) $(out)/atom.xml
$(out)/index.html: releases.yaml git-commits.yaml news.yaml
$(out)/downloads/index.html: releases.yaml
@@ -44,7 +44,8 @@ clean:
rm -f $(pages) $(static_out) \
$(releases_yaml) releases.yaml \
git-commit.yaml \
- news.yaml posts/index.yaml
+ news.yaml posts/index.yaml \
+ $(out)/atom.xml
$(releases_yaml):
curl -J $(releases_url)/$(releases_url_suffix) > $@.tmp
@@ -71,7 +72,7 @@ news.yaml: posts/index.yaml
$(generate_news) < $< > $@.tmp
mv $@.tmp $@
-atom.xml: news.yaml
+$(out)/atom.xml: news.yaml
$(generate_atom) _atom.template.xml $< > $@.tmp
mv $@.tmp $@