Re: Can't produce output

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

 



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

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux