diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2014-12-11 11:31:08 +0100 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-12-12 09:42:30 +0100 |
| commit | ec4488a2f0d5168532e2bc43ef481d57bb14e69d (patch) | |
| tree | b83a6625b14856a68571aaae00b66c2720ee68b8 | |
| parent | 3990489e697f58185e16fbdc8781c2dd9da29d39 (diff) | |
| download | alpine-mksite-ec4488a2f0d5168532e2bc43ef481d57bb14e69d.tar.bz2 alpine-mksite-ec4488a2f0d5168532e2bc43ef481d57bb14e69d.tar.xz | |
make: fix dependency for index generation
| -rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -36,7 +36,7 @@ $(static_out): $(out)/%: _static/% cp $< $@ %/index.yaml: %/*.md - $(generate_index) $^ > $@.tmp + $(generate_index) $(filter %.md,$^) > $@.tmp mv $@.tmp $@ clean: @@ -64,6 +64,8 @@ update-git-commits: rm -f git-commits.yaml $(MAKE) +posts/index.yaml: _scripts/generate_index.lua + news.yaml: posts/index.yaml $(generate_news) < $< > $@.tmp mv $@.tmp $@ |
