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

Skip to content

Commit 3014086

Browse files
committed
Wire up the makefile to more fully support the "What's New" documents.
1 parent 9ac14de commit 3014086

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

Doc/Makefile

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ BUILDINDEX=$(TOOLSDIR)/buildindex.py
8888
PYTHONDOCS="See <i><a href=\"about.html\">About this document...</a></i> for information on suggesting changes."
8989
HTMLBASE= file:`pwd`
9090

91+
# The end of this should reflect the major/minor version numbers of
92+
# the release:
9193
WHATSNEW=whatsnew23
9294

9395
# what's what
@@ -384,7 +386,8 @@ ISILOINDEXFILES=isilo/api/api.html \
384386
isilo/ref/ref.html \
385387
isilo/tut/tut.html \
386388
isilo/inst/inst.html \
387-
isilo/dist/dist.html
389+
isilo/dist/dist.html \
390+
isilo/whatsnew/$(WHATSNEW).html
388391

389392
$(ISILOINDEXFILES): $(COMMONPERL) html/about.dat perl/isilo.perl
390393

@@ -396,7 +399,8 @@ isilo: isilo/python-api-$(RELEASE).pdb \
396399
isilo/python-ref-$(RELEASE).pdb \
397400
isilo/python-tut-$(RELEASE).pdb \
398401
isilo/python-dist-$(RELEASE).pdb \
399-
isilo/python-inst-$(RELEASE).pdb
402+
isilo/python-inst-$(RELEASE).pdb \
403+
isilo/python-whatsnew-$(RELEASE).pdb
400404

401405
isilo/python-api-$(RELEASE).pdb: isilo/api/api.html isilo/api/api.css
402406
$(MKISILO) "-iPython/C API Reference Manual" \
@@ -434,6 +438,10 @@ isilo/python-inst-$(RELEASE).pdb: isilo/inst/inst.html isilo/inst/inst.css
434438
$(MKISILO) "-iInstalling Python Modules" \
435439
isilo/inst/inst.html $@
436440

441+
isilo/python-whatsnew-$(RELEASE).pdb: isilo/whatsnew/$(WHATSNEW).html isilo/whatsnew/$(WHATSNEW).css
442+
$(MKISILO) "-iWhat's New in Python X.Y" \
443+
isilo/whatsnew/$(WHATSNEW).html $@
444+
437445
isilo/api/api.html: $(APIFILES)
438446
$(MKISILOHTML) --dir isilo/api api/api.tex
439447

@@ -489,6 +497,7 @@ webcheck: $(ALLHTMLFILES)
489497
$(WEBCHECKER) $(HTMLBASE)/tut/
490498
$(WEBCHECKER) $(HTMLBASE)/dist/
491499
$(WEBCHECKER) $(HTMLBASE)/inst/
500+
$(WEBCHECKER) $(HTMLBASE)/whatsnew/
492501

493502
fastwebcheck: $(ALLHTMLFILES)
494503
$(WEBCHECKER) -x $(HTMLBASE)/api/
@@ -500,6 +509,7 @@ fastwebcheck: $(ALLHTMLFILES)
500509
$(WEBCHECKER) -x $(HTMLBASE)/tut/
501510
$(WEBCHECKER) -x $(HTMLBASE)/dist/
502511
$(WEBCHECKER) -x $(HTMLBASE)/inst/
512+
$(WEBCHECKER) -x $(HTMLBASE)/whatsnew/
503513

504514

505515
# Release packaging targets:
@@ -633,8 +643,10 @@ clobber:
633643
rm -rf html/index.html html/modindex.html html/acks.html
634644
rm -rf html/api/ html/doc/ html/ext/ html/lib/ html/mac/
635645
rm -rf html/ref/ html/tut/ html/inst/ html/dist/
646+
rm -rf html/whatsnew/
636647
rm -rf isilo/api/ isilo/doc/ isilo/ext/ isilo/lib/ isilo/mac/
637648
rm -rf isilo/ref/ isilo/tut/ isilo/inst/ isilo/dist/
649+
rm -rf isilo/whatsnew/
638650
rm -f isilo/python-*-$(RELEASE).pdb isilo-$(RELEASE).zip
639651

640652
realclean distclean: clobber

0 commit comments

Comments
 (0)