nakidai.ru/Makefile

22 lines
376 B
Makefile
Raw Normal View History

2024-08-24 22:22:12 +03:00
WEBROOT ?= root
2024-08-27 19:29:24 +03:00
GEN = index.html cstyle.html
2024-08-24 22:22:12 +03:00
FILES = ${GEN} style.css pubkey.asc
all: ${GEN}
2024-08-27 19:29:24 +03:00
index.html: index.7
2024-08-24 22:22:12 +03:00
mandoc -Thtml index.7 -Ostyle=style.css > index.html
2024-08-27 19:29:24 +03:00
cstyle.html: cstyle.7
mandoc -Thtml cstyle.7 -Ostyle=style.css > cstyle.html
2024-08-24 22:22:12 +03:00
clean:
rm -f ${GEN}
install: ${FILES}
install -d ${WEBROOT}
install -Cm644 ${FILES} ${WEBROOT}
.PHONY: all clean install