[PATCH] Add a "sources" target as an alias for "tarball".

Jeffrey C. Ollie jeff at ocjtech.us
Tue Feb 17 21:32:04 UTC 2009


This makes building Koji packages directly from a Koji git repository
in Koji possible.  Highly self-referential!

Signed-off-by: Jeffrey C. Ollie <jeff at ocjtech.us>
---
 Makefile |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 7432f31..fcd4dca 100644
--- a/Makefile
+++ b/Makefile
@@ -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)
 
-- 
1.6.1.3




More information about the Fedora-buildsys-list mailing list