mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
make: preliminary `collect' target
This commit is contained in:
parent
49fbd936d8
commit
f651d13359
8
Makefile
8
Makefile
@ -214,6 +214,14 @@ install:
|
||||
CORE_PACKAGESITE=${CORE_PACKAGESITE} \
|
||||
CORE_REPOSITORY=${CORE_REPOSITORY}
|
||||
|
||||
collect:
|
||||
@(cd ${.CURDIR}/src; find * -type f) | while read FILE; do \
|
||||
if [ -f ${DESTDIR}${LOCALBASE}/$${FILE} ]; then \
|
||||
tar -C ${DESTDIR}${LOCALBASE} -cpf - $${FILE} | \
|
||||
tar -C ${.CURDIR}/src -xpf -; \
|
||||
fi; \
|
||||
done
|
||||
|
||||
bootstrap:
|
||||
@${MAKE} -C ${.CURDIR}/src install-bootstrap DESTDIR=${DESTDIR} \
|
||||
NO_SAMPLE=please CORE_PACKAGESITE=${CORE_PACKAGESITE} \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user