On Monday, 24 April 2006, at 21:52:55 (+0100),
Howard Johnson wrote:
Aha, gotcha. Try this:
rpmbuild --define "_sourcedir $(SOURCEDIR)" \
--define "_builddir $(BUILDDIR)" \
--define "_srcrpmdir $(SRCRPMDIR)" \
--define "_rpmdir $(RPMDIR)" \
<other args>
-bash: SOURCEDIR: command not found
-bash: BUILDDIR: command not found
-bash: SRCRPMDIR: command not found
-bash: RPMDIR: command not found
You may want to test stuff before you send it out. $() is variables
in Makefile syntax but shell commands (a la ``) in shell syntax.
Michael