blob: 764bc5c5507baece29fc4f47824928ac2a6d7e19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
.PHONY: stage2 clean-stage2 force-stage2 post-stage2
stage2: ${STAGE2_MAKEFILE} ${POST_STAGE1_CACHE}
make -f ${STAGE2_MAKEFILE} all -j`nproc`
force-stage2: ${STAGE2_MAKEFILE} ${POST_STAGE1_CACHE}
make -f ${STAGE2_MAKEFILE} all -j`nproc` -B
post-stage2:
for dir in ${MAVEN_OVERLAY_DIR}/*; do \
find $${dir} -type f -name \*.ebuild | grep . || continue;\
pushd $${dir} > /dev/null;\
parallel ebuild '$$(echo {}/*.ebuild | cut -d\ -f1)' digest ::: *;\
popd > /dev/null;\
done
clean-stage2:
# just to make sure "${MAVEN_OVERLAY_DIR}" points to an overlay
if [[ -f ${MAVEN_OVERLAY_DIR}/profiles/repo_name ]]; then\
find ${MAVEN_OVERLAY_DIR} -type f \
\( -name \*.ebuild \
-o -name Manifest \)\
-delete;\
fi
|