Commit 9b8db233 authored by Franco Fichtner's avatar Franco Fichtner

make: add a bootstrap target

parent 4453f751
......@@ -157,6 +157,11 @@ install: force
CORE_PACKAGESITE=${CORE_PACKAGESITE} \
CORE_REPOSITORY=${CORE_REPOSITORY}
bootstrap: force
@${MAKE} -C ${.CURDIR}/src install_bootstrap DESTDIR=${DESTDIR} \
NO_SAMPLE=please CORE_PACKAGESITE=${CORE_PACKAGESITE} \
CORE_REPOSITORY=${CORE_REPOSITORY}
plist: force
@${MAKE} -C ${.CURDIR}/contrib plist
@${MAKE} -C ${.CURDIR}/lang plist
......
......@@ -7,8 +7,8 @@ ROOT_=${ROOT}
install${TARGET}: force
.for TREE in ${TREES${TARGET}}
@mkdir -p ${DESTDIR}${ROOT${TARGET}}
REALTARGET=/$$(dirname ${TREE}); \
@REALTARGET=/$$(dirname ${TREE}); \
mkdir -p ${DESTDIR}${ROOT${TARGET}}$${REALTARGET}; \
cp -vr ${TREE} ${DESTDIR}${ROOT${TARGET}}$${REALTARGET}
@(cd ${TREE}; find * -type f) | while read FILE; do \
if [ $${FILE%%.in} != $${FILE} ]; then \
......
ROOT= /usr/local
TREES= etc opnsense pkg sbin wizard www
EXTRA= bootstrap
ROOT_bootstrap= /usr/local
TREES_bootstrap=etc/pkg
.include "../Mk/tree.mk"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment