[Fedora-directory-commits] setuputil/installer Makefile,1.4,1.5

Noriko Hosoi (nhosoi) fedora-directory-commits at redhat.com
Thu Feb 23 21:47:59 UTC 2006


Author: nhosoi

Update of /cvs/dirsec/setuputil/installer
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7489/installer

Modified Files:
	Makefile 
Log Message:
[179394] HP-UX IPF/PA-RISC support
NSPR_RELDATE = v4.6
SECURITY_RELDATE = NSS_3_11_RTM
added _ia64 tag to NSCONFIG
replaced --exclude option with more common -X <exclude_file> for tar.



Index: Makefile
===================================================================
RCS file: /cvs/dirsec/setuputil/installer/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Makefile	20 Dec 2005 00:06:45 -0000	1.4
+++ Makefile	23 Feb 2006 21:47:51 -0000	1.5
@@ -38,6 +38,8 @@
 include $(BUILD_ROOT)/nsconfig.mk
 endif
 
+TMPLIST := $(shell echo /tmp/build.$$$$)
+
 PKGDIR_NAME=$(PLATFORM_DEST)
 PKGTOP=$(ABS_ROOT)/built/package/$(PKGDIR_NAME)
 ifdef BUILD_INTL
@@ -171,8 +173,15 @@
 ifneq ($(ARCH), WINNT)
 # create a source tar ball (ABS_INSTDIR is always new and clean)
 	cd $(ABS_INSTDIR); ln -s $(ABS_ROOT) $(RPM_FILE_BASE); \
-	tar cfh - --exclude \*/built --exclude \*/CVS $(RPM_FILE_BASE) --exclude \*/branding --exclude \*/RHEL* --exclude \*/SunOS* --exclude \*/HP* --exclude \*/Linux** | gzip > $(RPM_FILE_BASE).tar.gz; \
+	echo $(RPM_FILE_BASE)/built > $(TMPLIST) ; \
+	find $(RPM_FILE_BASE)/* -name "CVS" -a -type d -print | egrep -v built >> $(TMPLIST) ; \
+	find $(RPM_FILE_BASE)/* -name "HP-UX*" -a -type d -print | egrep -v built >> $(TMPLIST) ; \
+	find $(RPM_FILE_BASE)/* -name "SunOS*" -a -type d -print | egrep -v built >> $(TMPLIST) ; \
+	find $(RPM_FILE_BASE)/* -name "RHEL*" -a -type d -print | egrep -v built >> $(TMPLIST) ; \
+	find $(RPM_FILE_BASE)/* -name "Linux*" -a -type d -print | egrep -v built >> $(TMPLIST) ; \
+	tar cfh - -X $(TMPLIST) $(RPM_FILE_BASE) | gzip > $(RPM_FILE_BASE).tar.gz; \
 	$(RM) $(RPM_FILE_BASE)
+	-$(RM) -rf $(TMPLIST)
 endif
 
 pkgRPM: pkgSBC




More information about the Fedora-directory-commits mailing list