summaryrefslogtreecommitdiff
path: root/abdul-blog/Makefile
diff options
context:
space:
mode:
authorW. Kosior <koszko@koszko.org>2024-05-27 12:19:19 +0200
committerW. Kosior <koszko@koszko.org>2024-05-27 12:29:59 +0200
commitee8fac8ab8529e2d105c7e55c2c9b28aefd19b46 (patch)
tree7f7559d0ba91710624eb2c76a9765587595d8153 /abdul-blog/Makefile
parent2d05ae83321cdf8aa3abab6acdd69f331ef4b89a (diff)
downloadAGH-ctf-course-2024-ee8fac8ab8529e2d105c7e55c2c9b28aefd19b46.tar.gz
AGH-ctf-course-2024-ee8fac8ab8529e2d105c7e55c2c9b28aefd19b46.zip
Update and add remaining files.HEADmagister
Diffstat (limited to 'abdul-blog/Makefile')
-rw-r--r--abdul-blog/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/abdul-blog/Makefile b/abdul-blog/Makefile
new file mode 100644
index 0000000..efa6127
--- /dev/null
+++ b/abdul-blog/Makefile
@@ -0,0 +1,22 @@
+GEMINI_ONLY = \
+ minetest-server \
+ matterbridge-in-tildeserver
+GEMINI_AND_HTML = \
+ index \
+ hello-world \
+ mine-guix-shell \
+ learning-guix-home
+
+all: $(addsuffix .html,$(GEMINI_ONLY) $(GEMINI_AND_HTML))
+.PHONY: all
+
+%.html: %.gmi
+ if printf %s '$(GEMINI_ONLY)' | grep -q $*; then \
+ ./convert_gemtext_file.py sorry-gemini-only.gmi > $@; \
+ else \
+ ./convert_gemtext_file.py $< > $@; \
+ fi
+
+clean:
+ rm -rf *.html
+.PHONY: clean