This commit is contained in:
kipp 1998-04-15 18:14:33 +00:00
Родитель a2c48168c0
Коммит 46c8621a29
1 изменённых файлов: 16 добавлений и 4 удалений

Просмотреть файл

@ -317,12 +317,24 @@ doc_raptor:
# Build tarball # Build tarball
DATE_CMD=d:\usr\local\bin\date
!if [$(DATE_CMD) +%Y%m%d > today.inc]
!endif
DATE=\
!include "today.inc"
DATE=$(DATE: =)^
!if [del today.inc]
!endif
TAR = tar TAR = tar
ZIP = $(MOZ_TOOLS)\bin\zip ZIP = $(MOZ_TOOLS)\bin\zip
GZIP = gzip GZIP = gzip
TARBALL = $(MOZ_SRC)\raptor-win-src-04-15-98.tar TARBALL = $(MOZ_SRC)\win-$(DATE).tar
TARBALL_ZIP = $(MOZ_SRC)\raptor-win-src-04-15-98.zip TARBALL_ZIP = $(MOZ_SRC)\win-$(DATE).zip
TARFILES = ns README\\raptor
tarballs: tarball_zip tarball_gz tarballs: tarball_zip tarball_gz
@ -330,13 +342,13 @@ tarball_zip: prepare_for_tarballing
@echo Making $(TARBALL_ZIP) @echo Making $(TARBALL_ZIP)
cd $(MOZ_SRC)\. cd $(MOZ_SRC)\.
rm -f $(TARBALL_ZIP) rm -f $(TARBALL_ZIP)
$(ZIP) -9 -r -q $(TARBALL_ZIP) ns $(ZIP) -9 -r -q $(TARBALL_ZIP) $(TARFILES)
tarball_gz: prepare_for_tarballing tarball_gz: prepare_for_tarballing
@echo Making $(TARBALL) @echo Making $(TARBALL)
cd $(MOZ_SRC)\. cd $(MOZ_SRC)\.
rm -f $(TARBALL) $(TARBALL).gz rm -f $(TARBALL) $(TARBALL).gz
$(TAR) cf $(TARBALL) ns $(TAR) cf $(TARBALL) $(TARFILES)
@echo Making gzip of $(TARBALL) @echo Making gzip of $(TARBALL)
$(GZIP) -9 -q $(TARBALL) $(GZIP) -9 -q $(TARBALL)