mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
pkg: do not install *.pyc files
This commit is contained in:
parent
d6ad3cdd96
commit
875d57612f
@ -10,7 +10,7 @@ install${TARGET}: force
|
||||
@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 \
|
||||
@(cd ${TREE}; find * -type f ! -name "*.pyc") | while read FILE; do \
|
||||
if [ "$${FILE%%.in}" != "$${FILE}" ]; then \
|
||||
sed -i '' \
|
||||
-e "s=%%CORE_PACKAGESITE%%=${CORE_PACKAGESITE}=g" \
|
||||
@ -29,7 +29,7 @@ install${TARGET}: force
|
||||
|
||||
plist${TARGET}: force
|
||||
.for TREE in ${TREES${TARGET}}
|
||||
@(cd ${TREE}; find * -type f) | while read FILE; do \
|
||||
@(cd ${TREE}; find * -type f ! -name "*.pyc") | while read FILE; do \
|
||||
FILE="$${FILE%%.in}"; PREFIX=""; \
|
||||
if [ -z "${NO_SAMPLE}" -a "$${FILE%%.sample}" != "$${FILE}" ]; then \
|
||||
PREFIX="@sample "; \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user