# HTML and JS files .PATH: ${.CURDIR}/.. HTML_FILES= overview.html averages.html JS_FILES= Chart.bundle.min.js overview.js averages.js CSS_FILES= default.css all: @echo "Nothing todo..." obj: @true clean: @echo "Nothing todo..." install: .for _html in ${HTML_FILES} ${INSTALL} -D -o ${WWW_USER} -g ${WWW_GROUP} -m 444 ${_html} ${HTDOCS_PATH}/${_html} .endfor ${INSTALL} -d -o ${WWW_USER} -g ${WWW_GROUP} -m 555 ${HTDOCS_ROOT}/js ${INSTALL} -d -o ${WWW_USER} -g ${WWW_GROUP} -m 555 ${HTDOCS_ROOT}/css .for _js in ${JS_FILES} ${INSTALL} -o ${WWW_USER} -g ${WWW_GROUP} -m 444 js/${_js} ${HTDOCS_ROOT}/js/${_js} .endfor .for _css in ${CSS_FILES} ${INSTALL} -o ${WWW_USER} -g ${WWW_GROUP} -m 444 css/${_css} ${HTDOCS_ROOT}/css/${_css} .endfor # include site settings .include "cgiconfig.mk" .include