pandoc/trypandoc/Makefile
John MacFarlane 886cc0dd36 Added trypandoc flag to build trypandoc cgi executable.
Supporting files are in trypandoc/.
2014-08-17 16:11:09 -07:00

14 lines
336 B
Makefile

CGIBIN=/home/website/cgi-bin
TRYPANDOC=/home/website/html/pandoc/try/
CGI=${CGIBIN}/trypandoc
BIN=../dist/build/trypandoc/trypandoc
install: ${CGI} ${TRYPANDOC}/index.html
${TRYPANDOC}/%: %
cp $< $@ && chown website:www-data $@ && chmod a+r $@
${CGI}: ${BIN}
cp $< $@ && chown website:www-data $@ && chmod a+rx $@
.PHONY: install