Skip to content

Commit

Permalink
[mod] Makefile: add install share dir and remove image make target
Browse files Browse the repository at this point in the history
  • Loading branch information
leafoliage committed Mar 6, 2024
1 parent ef78e46 commit f452100
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ SUB_LIST+= EXT_IF=${GATE}
_SUB_LIST_EXP= ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/}
_SCRIPT_SRC= sbin/dockerbox

install: image
install:
${MKDIR} -p ${BINDIR}
${SED} ${_SUB_LIST_EXP} ${_SCRIPT_SRC} > ${BINDIR}/dockerbox
${CHMOD} 555 ${BINDIR}/dockerbox
Expand All @@ -73,13 +73,11 @@ install: image
${SED} ${_SUB_LIST_EXP} rc.d/dockerbox > ${RCDIR}/dockerbox
${CHMOD} 555 ${RCDIR}/dockerbox

image: dockerbox-img.tar.gz
${MKDIR} -p ${SHAREDIR}/dockerbox
${TAR} -xf dockerbox-img.tar.gz -C ${SHAREDIR}/dockerbox
${CP} -R share/ ${SHAREDIR}/dockerbox/

.MAIN: clean

.PHONY: clean

clean:
${RM} dockerbox-img.tar.gz
clean: ;

0 comments on commit f452100

Please sign in to comment.