Commit 22080764 authored by Franco Fichtner's avatar Franco Fichtner

pkg: do not install *.pyc files

(cherry picked from commit 875d5761)
parent a020f22c
......@@ -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 "; \
......
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