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

Re: Can't produce output



Michael Jennings wrote:
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


Obviously, the OP will want to replace those. I've no idea what paths the OP wants to use, so I didn't bother replacing them. My bad.

And yes, it's makefile syntax, cos it was taken from Makefile.common in Fedora's CVS.

--
Howard Johnson


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