Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e34ab30

Browse files
committed
Switch to .tgz instead of .tar.gz to appease Windows users.
Clean up the clean & clobber targets.
1 parent 72dd58d commit e34ab30

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

Doc/Makefile

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -317,35 +317,35 @@ webcheck:
317317
$(WEBCHECKER) file:`pwd`/ref/
318318
$(WEBCHECKER) file:`pwd`/tut/
319319

320-
lib-info-$(RELEASE).tar.gz: info
320+
lib-info-$(RELEASE).tgz: info
321321
(cd $(INFODIR); tar cf - python-???.info*) | gzip -9 >$@
322322

323-
latex-$(RELEASE).tar.gz:
323+
latex-$(RELEASE).tgz:
324324
$(srcdir)/tools/mktarball.sh $(RELEASE)
325325

326-
pdf-$(RELEASE).tar.gz: all-pdf
326+
pdf-$(PAPER)-$(RELEASE).tgz: all-pdf
327327
(cd paper-$(PAPER); tar cf - $(PDFFILES)) | gzip -9 >$@
328328

329-
postscript-$(RELEASE).tar.gz: all-ps
329+
postscript-$(PAPER)-$(RELEASE).tgz: all-ps
330330
(cd paper-$(PAPER); tar cf - $(PSFILES)) | gzip -9 >$@
331331

332-
html-$(RELEASE).tar.gz:
333-
(cd html; tar cf - index.html ???/???.css ???/*.html */*.gif) \
332+
html-$(RELEASE).tgz:
333+
(cd $(HTMLDIR); tar cf - index.html ???/???.css ???/*.html */*.gif) \
334334
| gzip -9 >$@
335335

336336
# convenience targets:
337337

338-
tarhtml: html-$(RELEASE).tar.gz
338+
tarhtml: html-$(RELEASE).tgz
339339

340-
tarinfo: lib-info-$(RELEASE).tar.gz
340+
tarinfo: lib-info-$(RELEASE).tgz
341341

342-
tarps: postscript-$(RELEASE).tar.gz
342+
tarps: postscript-$(PAPER)-$(RELEASE).tgz
343343

344-
tarpdf: pdf-$(RELEASE).tar.gz
344+
tarpdf: pdf-$(PAPER)-$(RELEASE).tgz
345345

346-
tarlatex: latex-$(RELEASE).tar.gz
346+
tarlatex: latex-$(RELEASE).tgz
347347

348-
tarballs: tarpdf tarps tarhtml tarlatex
348+
tarballs: tarpdf tarps tarhtml tarinfo tarlatex
349349

350350

351351
# Housekeeping targets
@@ -355,19 +355,19 @@ tarballs: tarpdf tarps tarhtml tarlatex
355355
# - useful results: .dvi, .pdf, .ps, .texi, .info
356356
clean:
357357
(cd paper-$(PAPER); rm -f *~ *.aux *.idx *.ilg *.ind *.log *.toc *.bkm)
358-
rm -f *.bak *.orig lib1.texi
358+
(cd $(INFODIR); $(MAKE) clean)
359359
(cd $(HTMLDIR); rm -f @webchecker.pickle)
360-
rm -f html-$(RELEASE).tar.gz info-$(RELEASE).tar.gz
361-
rm -f pdf-$(RELEASE).tar.gz postscript-$(RELEASE).tar.gz
362-
rm -f latex-$(RELEASE).tar.gz
360+
rm -f html-$(RELEASE).tgz info-$(RELEASE).tgz
361+
rm -f pdf-$(RELEASE).tgz postscript-$(RELEASE).tgz
362+
rm -f latex-$(RELEASE).tgz
363363

364364
l2hclean:
365365
(cd $(HTMLDIR); rm -rf api ext lib ref tut)
366366

367367
# Remove temporaries as well as final products
368368
clobber: clean l2hclean
369369
(cd paper-$(PAPER); rm -f $(DVIFILES) $(PSFILES) $(PDFFILES))
370-
(cd $(HTMLDIR); rm -f *.texi python-???.info python-???.info-[0-9]*)
370+
(cd $(INFODIR); $(MAKE) clobber)
371371

372372
realclean: clobber
373373
distclean: clobber

0 commit comments

Comments
 (0)