aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: a4a007c2cea87fb6dcf69a2d8adf298d8afc21dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
MAKEFLAGS=-j4

# Using: https://github.com/mitjafelicijan/jbmafp

build: openring
	python3 vault.py
	jbmafp --build

dev:
	jbmafp --build --server

openring:
	openring -l 165 -n 8 -p 1 \
		-s https://jcs.org/rss \
		-s https://chotrin.org/rss.xml \
		-s https://drewdevault.com/feed.xml \
		-s https://offbeatpursuit.com/blog/index.rss \
		-s https://mirzapandzo.com/rss.xml \
		-s https://journal.valeriansaliou.name/rss/ \
		-s https://neil.computer/rss/ \
		-s https://solar.lowtechmagazine.com/posts/index.xml \
		< templates/openring.html \
		> templates/includes/openring.html

deploy: build
	rsync -az --delete public/ root@mitjafelicijan.com:/var/www/html/mitjafelicijan.com/
	ssh root@mitjafelicijan.com chown www-data:www-data /var/www/html/mitjafelicijan.com/ -Rf