pkg: ignore files that are templated

This commit is contained in:
Franco Fichtner 2018-09-22 10:17:10 +02:00
parent 41966d7158
commit cd5a171966

View File

@ -85,6 +85,7 @@ install-${TARGET}:
plist-${TARGET}:
.for TREE in ${TREES_${TARGET}}
@(cd ${TREE}; find * -type f ${_IGNORES} -o -type l) | while read FILE; do \
if [ -f "${TREE}/$${FILE}.in" ]; then continue; fi; \
FILE="$${FILE%%.in}"; PREFIX=""; \
if [ -z "${NO_SAMPLE}" -a "$${FILE%%.sample}" != "$${FILE}" ]; then \
PREFIX="@sample "; \