diff options
author | Paul W. Frields <stickster@gmail.com> | 2006-02-14 22:50:42 +0000 |
---|---|---|
committer | Paul W. Frields <stickster@gmail.com> | 2006-02-14 22:50:42 +0000 |
commit | 8d43c6c52ecec2d35070744c1dd771c549768d96 (patch) | |
tree | 404ec3e35b5d81372c0f5a296261c23feb551a96 /Makefile | |
parent | 0736277960f914994d957cc8627755f6cf930ed1 (diff) | |
download | fedora-doc-utils-8d43c6c52ecec2d35070744c1dd771c549768d96.tar.gz fedora-doc-utils-8d43c6c52ecec2d35070744c1dd771c549768d96.tar.xz fedora-doc-utils-8d43c6c52ecec2d35070744c1dd771c549768d96.zip |
Patch Makefile, thanks Ignacio
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -21,7 +21,8 @@ TITLE = Fedora Documentation Project Shared Files # Some RPM flags... ###################################################### RPMFLAGS = --define "docbase $(DOCBASE)" \ - --define "_topdir $(PWD)/rpmbuild" + --define "_topdir $(PWD)/rpmbuild" \ + --define "_build_name_fmt %{name}-%{version}-%{release}.%{arch}.rpm" RPM = rpm ${RPMFLAGS} ###################################################### @@ -72,7 +73,7 @@ rpm: update # Do the build... # rpmbuild -ba $(RPMFLAGS) $(DOCSPEC) - mv $(shell ${RPM} --eval '%{_rpmdir}')/noarch/*.rpm . + mv $(shell ${RPM} --eval '%{_rpmdir}')/*.rpm . mv $(shell ${RPM} --eval '%{_srcrpmdir}')/*.rpm . rpmbuild --clean --rmsource $(RPMFLAGS) $(DOCSPEC) rm -rf $(shell ${RPM} --eval '%{_topdir}') |