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.
alemauri.eu/makefile

18 lines
283 B

4 years ago
SRCDIR = src
DESTDIR = dst
4 years ago
SITENAME = "Mauri's website"
URL = alemauri.eu
4 years ago
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/
4 years ago
clean:
rm -rf ${DESTDIR}