pkgsrc-WIP-discuss archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkglint warning: XXX should not be evaluated at load time
> Aleksey Cheusov wrote:
>> Can anybody explain what does this pkglint warning mean
>> and how to fix it?
>> -------------- wip/libmaa -----------------
>> WARN: Makefile:27: EXTRA_DOC_FILES should not be evaluated at load time.
>> 0 errors and 1 warnings found.
> Have you tried "pkglint --explain --source -Wall"?
No. I read it and it's cool.
Changing this section to
post-install:
set -e; \
for i in $${EXTRA_DOC_FILES}; do \
${INSTALL_DATA} ${WRKSRC}/"$${i}" ${PKGDOCDIR}; \
done
helps but I still don't understand what's wrong with my original variant
with .for/.endfor
All assignments to EXTRA_DOC_FILES are above the point this variable
is really used. So, what's wrong?
--
Best regards, Aleksey Cheusov.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss
Home |
Main Index |
Thread Index |
Old Index