On Tue, 2 Nov 2004, Richard Levitte - VMS Whacker wrote: > In message <[EMAIL PROTECTED]> on Thu, 28 Oct 2004 17:51:48 -0400, Carson Gaspar > <[EMAIL PROTECTED]> said: > > carson> --On Thursday, October 28, 2004 15:13:14 +0100 Robert Bannocks > carson> <[EMAIL PROTECTED]> wrote: > carson> > carson> > I get this too if you quote the $(EXHEADER) to be "$(EXHEADER)" in the > carson> > install section of the files listed below it compiles and installs ok. > carson> > carson> This will break if EXHEADER is _not_ empty. The following > carson> snippet should work in all cases (assuming I got my backslash > carson> escaping right...): > carson> > carson> install: > carson> @if test -n "$(EXHEADER)"; then \ > carson> headerlist="$(EXHEADER)"; \ > carson> for i in $$headerlist; do \ > carson> (cp $$i > $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ > carson> chmod 644 > $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ > carson> done; \ > carson> fi > > In this case, is the test strictly necessary?
The test is not required if an interim variable is used (such as $headerlist). It would seem like a good work around. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]