add a "sources" target to the Makefile to enable building Koji from the Koji git repo with Koji

Signed-off-by: Mike Bonnet <mikeb@redhat.com>
This commit is contained in:
Jeffrey C. Ollie 2009-02-18 14:51:15 -05:00 committed by Mike Bonnet
parent 1b8a6b4aa5
commit 98ae49d91a

View file

@ -78,6 +78,8 @@ test-tarball:
tarball: clean
@git archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD |bzip2 > $(NAME)-$(VERSION).tar.bz2
sources: tarball
srpm: tarball
$(RPM_WITH_DIRS) $(DIST_DEFINES) -bs $(SPECFILE)