On 7/10/12 2:32 PM, Jeffrey Blank wrote:
Signed-off-by: Jeffrey Blank <blank(a)eclipse.ncsc.mil>
---
Makefile | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 78e9490..b2216fc 100644
--- a/Makefile
+++ b/Makefile
@@ -34,12 +34,15 @@ define rpm-prep
$(call MKDIR,$(RPM_TOPDIR)/SRPMS)
endef
-all: rpm
+all: rhel6 rpm
+
+rhel6:
+ cd rhel6/src && $(MAKE)
tarball:
- cd rhel6/src && $(MAKE) clean
$(call rpm-prep)
cp -r rhel6 $(RPM_TMPDIR)/$(PKG)
+ cd $(RPM_TMPDIR)/$(PKG)/rhel6/src && $(MAKE) clean
cd $(RPM_TMPDIR) && tar -czf $(PKG).tar.gz $(PKG)
cp $(RPM_TMPDIR)/$(PKG).tar.gz $(TARBALL)
Ack. This keeps the rhel6/src/output/* content now.