aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2010-03-26 20:44:51 +0000
committerastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2010-03-26 20:44:51 +0000
commitc5c2f3f46d752da1a7c631af8619489d454f51c1 (patch)
tree1aa44d80df90aff6b0decc5af8da6e432d81e289 /Makefile
parent0aa34e280e36e3f5f4003c20613ee1a442e60f02 (diff)
downloadsos-c5c2f3f46d752da1a7c631af8619489d454f51c1.tar.gz
remove cruft
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@878 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6b332568..332c6815 100644
--- a/Makefile
+++ b/Makefile
@@ -38,10 +38,12 @@ install: document
document:
make -C $(PWD)/doc html
-archive:
+archive: gpgkey
@rm -rf $(NAME)-$(VERSION).tar.gz
@rm -rf $(TMPDIR)
@svn export --force $(PWD) $(TMPDIR)
+ @mkdir -p $(TMPDIR)/gpgkeys
+ @cp gpgkeys/rhsupport.pub $(TMPDIR)/gpgkeys/.
@tar Ccvzf /tmp $(NAME)-$(VERSION).tar.gz $(NAME)-$(VERSION)
@cp $(NAME)-$(VERSION).tar.gz $(shell rpm -E '%_sourcedir')
@rm -rf $(NAME)-$(VERSION).tar.gz
@@ -57,7 +59,7 @@ clean:
done; \
for d in $(SUBDIRS); do make -C $$d clean ; done
-rpm: gpgkey
+rpm:
@$(MAKE) archive
@rpmbuild -ba sos.spec