aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2024-02-28 16:08:52 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2024-02-28 16:23:46 +0100
commit0fb9d3ff96a93e6ab70bd8531782ff63d900cc0d (patch)
tree24a2d555c28579747bfe65c6de2e4afe6040aa35 /Makefile
parent0a9b7208c923139d2e32c4db4148611fd878bec6 (diff)
downloadhaunt-blog-0fb9d3ff96a93e6ab70bd8531782ff63d900cc0d.tar.gz
haunt-blog-0fb9d3ff96a93e6ab70bd8531782ff63d900cc0d.tar.bz2
haunt-blog-0fb9d3ff96a93e6ab70bd8531782ff63d900cc0d.zip
Move downloaded html file in their own directory.
This makes it more clear that these files were downloaded from the Replicant wordpress instance. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 13 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 53f78a0..47f87a6 100644
--- a/Makefile
+++ b/Makefile
@@ -22,20 +22,23 @@ SENTINEL =
.PHONY: all build help serve
PAGES = \
- replicant_blog_page_8.html \
- replicant_blog_page_7.html \
- replicant_blog_page_6.html \
- replicant_blog_page_5.html \
- replicant_blog_page_4.html \
- replicant_blog_page_3.html \
- replicant_blog_page_2.html \
- replicant_blog_page_1.html \
- replicant_blog_page_0.html \
+ wordpress/replicant_blog_page_8.html \
+ wordpress/replicant_blog_page_7.html \
+ wordpress/replicant_blog_page_6.html \
+ wordpress/replicant_blog_page_5.html \
+ wordpress/replicant_blog_page_4.html \
+ wordpress/replicant_blog_page_3.html \
+ wordpress/replicant_blog_page_2.html \
+ wordpress/replicant_blog_page_1.html \
+ wordpress/replicant_blog_page_0.html \
$(SENTINEL)
all: help
-replicant_blog_page_%.html:
+wordpress:
+ mkdir -p $@
+
+wordpress/replicant_blog_page_%.html: wordpress
$(CURL) $(BLOG_URL)/$(subst replicant_blog_page_,,$*)/ -o $@
links.txt: $(PAGES)