You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
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 -vruL ${DESTDIR}/ www@${URL}:/www/
|
|
|
|
clean:
|
|
rm -rf ${DESTDIR}
|
|
|