2014-08-18 01:11:09 +02:00
|
|
|
CGIBIN=/home/website/cgi-bin
|
|
|
|
TRYPANDOC=/home/website/html/pandoc/try/
|
|
|
|
CGI=${CGIBIN}/trypandoc
|
2015-11-15 23:21:51 +01:00
|
|
|
BIN=../.cabal-sandbox/bin/trypandoc
|
2014-08-18 01:11:09 +02:00
|
|
|
|
|
|
|
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
|