From c5c2f3f46d752da1a7c631af8619489d454f51c1 Mon Sep 17 00:00:00 2001 From: astokes Date: Fri, 26 Mar 2010 20:44:51 +0000 Subject: remove cruft git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@878 ef72aa8b-4018-0410-8976-d6e080ef94d8 --- Makefile | 6 ++++-- 1 file 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 -- cgit