mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
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:
parent
07735d8e89
commit
c9ad1ba5ae
@ -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...."
|
||||
|
Loading…
Reference in New Issue
Block a user