tCreate rss/ dir if non-existant - monochromatic - monochromatic blog: http://blog.z3bra.org
(HTM) git clone git://z3bra.org/monochromatic
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit da3b74f53bdc4e30a8a07e761102ca3e302c77a8
(DIR) parent 6818c3b4d1b862a8a009e97676f8e30f335ae5b2
(HTM) Author: z3bra <contactatz3bradotorg>
Date: Thu, 6 Jul 2017 13:10:56 +0200
Create rss/ dir if non-existant
Diffstat:
M Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/Makefile b/Makefile
t@@ -23,7 +23,9 @@ HEADER = head.html
FOOTER = foot.html
$(FEEDS): index.txt
- ./feeds.sh index.txt > $(FEEDS)
+ @echo "RSSGEN $@"
+ @mkdir -p `dirname $(FEEDS)`
+ @./feeds.sh index.txt > $(FEEDS)
.txt.html: $(HEADER) $(FOOTER)
@echo "MARKDOWN `basename $@`"