%% "Anh-Khanh Tran" <[EMAIL PROTECTED]> writes: at> I have tried to search everywhere for the switch options but could not at> find them. I appreciate if you could point me to where I could find the at> switch option especially -a and -h. at> This is an example from the Make script: at> @if [ ! -f rundir.ant/$*/ant.sum -a ! -d rundir.ant/$*/ant.sum -a ! -h at> rundir.ant/$*/ant.sum ]; then exit 1 ; fi
The commands that make invokes are not make scripts, that's why you won't find them documented in the make manual. Make invokes a shell for each command, and passes the text of the command script to the shell for parsing. So, the -a, -h, etc. are options to the shell or in particular, in this case, to the "test" program (aka "["). -a means "and", and -h (in most versions) is true if the file is a symbolic link. See your shell man page and/or the man page for "test" for more details. -- ------------------------------------------------------------------------------- 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 _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/help-make
