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

15 lines
240 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}'
install: all
rsync -vruL ${DESTDIR}/ www@${URL}:/www/
4 years ago
clean:
rm -rf ${DESTDIR}