nakidai.ru/Makefile

19 lines
277 B
Makefile
Raw Normal View History

2024-08-24 22:22:12 +03:00
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