%% Koen Claessen <[EMAIL PROTECTED]> writes: kc> I get the not very informative error "dependency `' doesn't kc> exist" when I am using gmake on the attached makefile. I kc> could not find anything about it in the manual on gnu.org.
kc> Maybe it is a bug? Sorry, but you have not provided enough information for us to tell. Please see the section of the GNU make manual describing the details needed for a successful bug report or request for help. In particular, please remember to include the version of GNU make you're using and the type/version of system you're using it on. Also please include, if at all possible, the _exact_ output you received, including the exact text, any line numbers, etc. By far the best way is to cut and paste the message (and any relevant details) into your email. For example, you give an error message "dependency `' doesn't exist", but first GNU make hasn't used the term "dependency" except in special circumstances in many years. Second, I can't find any text "doesn't exist" in the GNU make source code anywhere. I can't help without more information. kc> install : kc> # -- ghc-pkg configuration kc> cat yahu-pkg.mask \ kc> | sed 's|%YAHU_PATH|'`pwd`'|g' \ kc> | sed 's|%TCL_LIB|'$(TCL_LIB)'|g' \ kc> | sed 's|%TK_LIB|'$(TK_LIB)'|g' \ kc> | sed 's|%TCL_NAME|'$(TCL_NAME)'|g' \ kc> | sed 's|%TK_NAME|'$(TK_NAME)'|g' \ kc> | ghc-pkg $(GHC_PKG_FLAGS) -u FYI, you can combine all these invocations of sed into one, using the -e option: cat yahu-pkg.mask \ | sed -e 's|%YAHU_PATH|'`pwd`'|g' \ -e 's|%TCL_LIB|'$(TCL_LIB)'|g' \ -e 's|%TK_LIB|'$(TK_LIB)'|g' \ -e 's|%TCL_NAME|'$(TCL_NAME)'|g' \ -e 's|%TK_NAME|'$(TK_NAME)'|g' \ | ghc-pkg $(GHC_PKG_FLAGS) -u Should be much faster. -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-make