This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
No, I'm not getting filosofical here. ;) Hallo all, Sometimes one wants to know what depends on a package or vice versa. To find out, using the local setup.inis, I wrote following script. It uses make to recursively find and display all dependencies in either direction. To find out what needs less: cyg-deps less To find out what man needs: cyg-deps -r man Insert a '-v' after the script's name to see any messages from make. (e.g. about circular dependencies.) This script requires /bin/sh, cat, sed, cygpath, (g)awk, make, a package-dir left by setup, /etc/setup/last-mirror and /etc/setup/last-cache. I hope anyone likes and/or can find a use for it. L8r, Buzz. -- ) | | ---/ ---/ Yes, this | This message consists of true | I do not -- | | / / really is | and false bits entirely. | mail for ) | | / / a 72 by 4 +-------------------------------+ any1 but -- \--| /--- /--- .sigfile. | |perl -pe "s.u(z)\1.as." | me. 4^re
Attachment:
cyg-deps
Description: Text document
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |