[Python-checkins] CVS: python/dist/src/Doc Makefile,1.190.2.4,1.190.2.5

Fred L. Drake fdrake@weyr.cnri.reston.va.us
Wed, 15 Mar 2000 11:39:16 -0500 (EST)


Update of /projects/cvsroot/python/dist/src/Doc
In directory weyr:/home/fdrake/projects/python/Doc-152p2

Modified Files:
      Tag: release152p1-patches
	Makefile 
Log Message:

When building a ZIP archive, remove an existing version first so we
don't accumulate files that are no longer used.  Also, use the -q
option so we don't fill up scrollback buffers with so much junk.


Index: Makefile
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Doc/Makefile,v
retrieving revision 1.190.2.4
retrieving revision 1.190.2.5
diff -C2 -r1.190.2.4 -r1.190.2.5
*** Makefile	2000/02/28 21:04:53	1.190.2.4
--- Makefile	2000/03/15 16:39:13	1.190.2.5
***************
*** 220,223 ****
--- 220,224 ----
  
  latex-$(RELEASE).zip:
+ 	rm -f $@
  	$(TOOLSDIR)/mksourcepkg --zip $(RELEASE)
  
***************
*** 229,233 ****
  
  pdf-$(PAPER)-$(RELEASE).zip: pdf
! 	(cd paper-$(PAPER); zip -9 ../$@ *.pdf)
  
  postscript-$(PAPER)-$(RELEASE).tar.bz2: ps
--- 230,235 ----
  
  pdf-$(PAPER)-$(RELEASE).zip: pdf
! 	rm -f $@
! 	(cd paper-$(PAPER); zip -q -9 ../$@ *.pdf)
  
  postscript-$(PAPER)-$(RELEASE).tar.bz2: ps
***************
*** 241,245 ****
  postscript-$(PAPER)-$(RELEASE).zip: ps
  	(cd paper-$(PAPER); $(MAKE) README)
! 	(cd paper-$(PAPER); zip -9 ../$@ *.ps README)
  
  html-$(RELEASE).tgz:	html
--- 243,248 ----
  postscript-$(PAPER)-$(RELEASE).zip: ps
  	(cd paper-$(PAPER); $(MAKE) README)
! 	rm -f $@
! 	(cd paper-$(PAPER); zip -q -9 ../$@ *.ps README)
  
  html-$(RELEASE).tgz:	html
***************
*** 254,259 ****
  
  html-$(RELEASE).zip:	html
  	(cd $(HTMLDIR); \
! 		zip -9 ../$@ *index.html ???/*.css ???/*.html */*.gif)
  
  # convenience targets:
--- 257,263 ----
  
  html-$(RELEASE).zip:	html
+ 	rm -f $@
  	(cd $(HTMLDIR); \
! 		zip -q -9 ../$@ *index.html ???/*.css ???/*.html */*.gif)
  
  # convenience targets: