[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Can't produce output



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

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <mej kainx org>
n + 1, Inc., http://www.nplus1.net/       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "If you can scrounge up another brain cell, you might captivate us
  further...but I doubt it.  You couldn't get a clue during
  clue-mating season in a field full of horny clues if you smeared
  your body with clue musk and did the clue mating dance."   -- OS2Bot


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]