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

14 lines
237 B

SRCDIR = src
DESTDIR = dst
SITENAME = "Mauri's blog"
URL = alemauri.eu
all:
mkdir -p ${DESTDIR}
ssg ${SRCDIR} ${DESTDIR} ${SITENAME} 'https://${URL}'
install: all
rsync -vruL ${DESTDIR}/ www@${URL}:/www/
clean:
rm -rf ${DESTDIR}