aboutsummaryrefslogtreecommitdiff
path: root/trypandoc/Makefile
blob: c486aea3b5e08d32cd23b1b8f4bfc71776698981 (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=/home/jgm/.local/bin/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