Newer
Older
SOURCES = $(filter-out README.md, $(wildcard *.md))
OUTPUTS = $(SOURCES:%.md=public/%.html)
DEST="/net/cubitus/projects/Partage_GEPETTO/Public/articles"
all: ${OUTPUTS}
check: all
! grep 'videos/watch' ${SOURCES} # you have to replace "watch" by "embed"
deploy: check
chmod a+r,g+w ${OUTPUTS}
rsync -avzP --delete public/ gepetto-deploy@memmos.laas.fr:${DEST}
clean:
rm -f ${OUTPUTS}