added -vf9 to gzip for packaging mozilla tarball. tell strip not to strip various text files (js/xul/html/etc). r=leaf

This commit is contained in:
granrose%netscape.com 2000-04-20 22:40:39 +00:00
parent 07735d8e89
commit c9ad1ba5ae

View File

@ -87,9 +87,23 @@ ifneq ($(NSPR_DIR),$(DIST)/bin)
endif
@rm -f $(DIST)/package $(DIST)/$(PKG_BASENAME).tar $@ $(EXCLUDE_LIST)
@ln -s bin $(DIST)/package
@cd $(DIST)/bin; find . ! -type d -exec strip $(STRIP_FLAGS) {} \;
@cd $(DIST)/bin; find . ! -type d \
! -name "*.js" \
! -name "*.xpt" \
! -name "*.gif" \
! -name "*.jpg" \
! -name "*.txt" \
! -name "*.rdf" \
! -name "*.sh" \
! -name "*.properties" \
! -name "*.dtd" \
! -name "*.html" \
! -name "*.xul" \
! -name "*.css" \
! -name "*.xml" \
-exec strip $(STRIP_FLAGS) {} \;
ifeq ($(MOZ_PKG_FORMAT),TGZ)
cd $(DIST); tar -cvhf - package | gzip > $@
cd $(DIST); tar -cvhf - package | gzip -vf9 > $@
endif
ifeq ($(MOZ_PKG_FORMAT),RPM)
@echo "Sorry, don't know how to build an RPM file yet...."