Page MenuHomeDevCentral

Makefile
No OneTemporary

Makefile

COMPONENTS_DIR=/usr/local/share/upsection
BIN_DIR=/usr/local/bin
MKDIR=mkdir -p
INSTALL_BIN=install -m 755
INSTALL_SHARE=install -m 644
# -------------------------------------------------------------
# Main targets
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
all:
# Nothing to build
install:
${MKDIR} ${COMPONENTS_DIR} ${BIN_DIR}
${INSTALL_BIN} src/upsection.py ${BIN_DIR}/upsection
${INSTALL_SHARE} components/* ${COMPONENTS_DIR}
# -------------------------------------------------------------
# Development and maintenance targets
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
test:
cd tests/site && \
cp ../../config.yml . && \
cp -Rp ../../template/* . && \
make
publish:
upsection package.json

File Metadata

Mime Type
text/x-makefile
Expires
Sat, Nov 14, 20:59 (4 d, 1 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4251739
Default Alt Text
Makefile (765 B)

Event Timeline