aboutsummaryrefslogtreecommitdiff
path: root/trypandoc/Makefile
blob: 29942ac002e64fe072769c3af59c3c71335d2dd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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