Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12239601
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
904 B
Referenced Files
None
Subscribers
None
Makefile
View Options
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/* . && \
PACKAGE_TEMPLATE=../../components/package-template.json UPSECTION=../../src/upsection.py make
publish:
PACKAGE_TEMPLATE=components/package-template.json upsection package.json
File Metadata
Details
Attached
Mime Type
text/x-makefile
Expires
Sat, Oct 11, 22:39 (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3064215
Default Alt Text
Makefile (904 B)
Attached To
Mode
rUPSECTION Upsection
Attached
Detach File
Event Timeline
Log In to Comment