summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2006-02-14 22:50:42 +0000
committerPaul W. Frields <stickster@gmail.com>2006-02-14 22:50:42 +0000
commit8d43c6c52ecec2d35070744c1dd771c549768d96 (patch)
tree404ec3e35b5d81372c0f5a296261c23feb551a96 /Makefile
parent0736277960f914994d957cc8627755f6cf930ed1 (diff)
downloadfedora-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--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 76bda52..f114b0c 100644
--- a/Makefile
+++ b/Makefile
@@ -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}')