nakidai.ru/Makefile

19 lines
277 B
Makefile

WEBROOT ?= root
GEN = index.html
FILES = ${GEN} style.css pubkey.asc
all: ${GEN}
index.html:
mandoc -Thtml index.7 -Ostyle=style.css > index.html
clean:
rm -f ${GEN}
install: ${FILES}
install -d ${WEBROOT}
install -Cm644 ${FILES} ${WEBROOT}
.PHONY: all clean install