From 9c10f97c0abcf5b457b027161f24529a89ecd3bc Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <sgallagh@redhat.com>
Date: Mon, 20 Jul 2009 14:50:14 -0400
Subject: [PATCH] Add 'make srpms' target

---
 Makefile.am |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 9030b10..0ed9c64 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,3 +18,8 @@ rpms: dist-gzip rpmroot
 	cp $(builddir)/sssd.spec $(RPMBUILD)/SPECS
 	cp $(distdir).tar.gz $(RPMBUILD)/SOURCES
 	cd $(RPMBUILD); rpmbuild --define "_topdir $(RPMBUILD)" -ba SPECS/sssd.spec
+
+srpms: dist-gzip rpmroot
+	cp $(builddir)/sssd.spec $(RPMBUILD)/SPECS
+	cp $(distdir).tar.gz $(RPMBUILD)/SOURCES
+	cd $(RPMBUILD); rpmbuild --define "_topdir $(RPMBUILD)" -bs SPECS/sssd.spec
-- 
1.6.2.5

