summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorCase Duckworth2022-08-18 23:05:52 -0500
committerCase Duckworth2022-08-18 23:07:16 -0500
commit7f65ca3467db4bc9ae6ac4cb28f5865d6d4581e2 (patch)
tree5536b0a33d1f0bc00151d4eb4d9e78d8e9086ffa /Makefile
downloadfwendplanet-7f65ca3467db4bc9ae6ac4cb28f5865d6d4581e2.tar.gz
fwendplanet-7f65ca3467db4bc9ae6ac4cb28f5865d6d4581e2.zip
Initialize
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1fa687a --- /dev/null +++ b/Makefile
@@ -0,0 +1,25 @@
1URL = https://acdw.casa/fwends
2REPO = https://tildegit.org/casa/pages/raw/branch/main/opml/mug.of.opml
3OUTD = /var/www/acdw.casa/fwends/
4RC = sfeedrc
5FEEDS = feeds
6FILES = index.html style.css
7AGGREGATOR = ./fwendplanet.sh
8MAXAGE = 60
9
10.PHONY: publish
11publish: build
12 mkdir -p $(OUTD)
13 cp $(FILES) $(OUTD)
14
15.PHONY: build
16build: $(RC)
17 sfeed_update $(RC) || true
18 $(AGGREGATOR) $(FEEDS) $(MAXAGE) >index.html
19
20$(RC):
21 curl -L $(REPO) | sfeed_opml_import > $@
22 echo sfeedpath=$(FEEDS) >> $@
23
24
25