On Wed, Feb 25, 2009 at 10:24:43AM -0500, Joe Huss wrote: > > In the linux/Makefile, there is a line like > > ifneq ("$(strip $(wildcard /usr/bin/genisoimage))","") > > however, the binary 'wildcard' isnt on any of the ubuntu systems I've > looked at, and this was a ubuntu/debian related fix from what I could > tell.
$(wildcard is a make function, not a binary that you will find on your system. > You can replace this with > > ifneq ("$(which genisoimage)","") I don't think that 'which' is a makefile function. To do it that way I think that the line has to be something like: ifneq ("$(strip $(shell which genisoimage))", "") You need to use the $(shell function to call external command. The function call to strip is to remove any extra spaces that might have crept in. It probably isn't necessary here, but is safe to have when comparing to the empty string. I got used to putting $(strip whenever comparing to the empty string unless I wanted whitespace to not match. Allan. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ unattended-devel mailing list unattended-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-devel