|
|
|
SRCDIR = src
|
|
|
|
DESTDIR = dst
|
|
|
|
SITENAME = "Mauri's website"
|
|
|
|
URL = alemauri.eu
|
|
|
|
|
|
|
|
all:
|
|
|
|
mkdir -p ${DESTDIR}
|
|
|
|
ssg ${SRCDIR} ${DESTDIR} ${SITENAME} 'https://${URL}'
|
|
|
|
|
|
|
|
test: all
|
|
|
|
xdg-open ${DESTDIR}/index.html
|
|
|
|
|
|
|
|
install: all
|
|
|
|
rsync -vmruLz --delete ${DESTDIR}/ www@${URL}:/www/
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf ${DESTDIR}
|