From fdde4ea73bf049ef57a87ae9ac57eb297eb3e67d Mon Sep 17 00:00:00 2001 From: Graham Nelson Date: Thu, 2 Apr 2020 18:37:37 +0100 Subject: [PATCH] Made make pages incremental, added make forcepages --- scripts/makescript.txt | 324 +++++++++++++++++++++++------------------ 1 file changed, 179 insertions(+), 145 deletions(-) diff --git a/scripts/makescript.txt b/scripts/makescript.txt index a6d532d8b..a3cf542a7 100644 --- a/scripts/makescript.txt +++ b/scripts/makescript.txt @@ -41,23 +41,22 @@ INBUILDX = inbuild/Tangled/inbuild # root of the core Inform distribution. # In the eventual makefile, the symbol NAMEWEB is defined as its location. -{module} FOUNDATION foundation ../inweb/foundation-module -{module} WORDS words inbuild/words-module -{module} INFLECTIONS inflections inform7/inflections-module -{module} SYNTAX syntax inbuild/syntax-module -{module} LINGUISTICS linguistics inform7/linguistics-module -{module} KINDS kinds inform7/kinds-module -{module} PROBLEMS problems inform7/problems-module -{module} CORE core inform7/core-module -{module} IF if inform7/if-module -{module} INDEX index inform7/index-module -{module} MULTIMEDIA multimedia inform7/multimedia-module -{module} INTER inter inter/inter-module -{module} BUILDING building inter/building-module -{module} CODEGEN codegen inter/codegen-module -{module} HTML html inbuild/html-module -{module} ARCH arch inbuild/arch-module -{module} INBUILD inbuild inbuild/inbuild-module +{module} WORDS words inbuild/words-module modules +{module} INFLECTIONS inflections inform7/inflections-module modules +{module} SYNTAX syntax inbuild/syntax-module modules +{module} LINGUISTICS linguistics inform7/linguistics-module modules +{module} KINDS kinds inform7/kinds-module modules +{module} PROBLEMS problems inform7/problems-module modules +{module} CORE core inform7/core-module modules +{module} IF if inform7/if-module modules +{module} INDEX index inform7/index-module modules +{module} MULTIMEDIA multimedia inform7/multimedia-module modules +{module} INTER inter inter/inter-module modules +{module} BUILDING building inter/building-module modules +{module} CODEGEN codegen inter/codegen-module modules +{module} HTML html inbuild/html-module modules +{module} ARCH arch inbuild/arch-module modules +{module} INBUILD inbuild inbuild/inbuild-module modules # First, the tools we need to make, using the same declaration notation. # In the eventual makefile, the symbol NAMEWEB is the location of NAME; @@ -65,19 +64,13 @@ INBUILDX = inbuild/Tangled/inbuild # the symbol NAMEX is the actual executable which the tool compiles into. # After its declaration, we list all modules needed to compile the tool. -{tool} INBLORB inblorb inblorb - -{tool} INDOC indoc indoc - -{tool} INFORM7 inform7 inform7 - -{tool} INPOLICY inpolicy inpolicy - -{tool} INRTPS inrtps inrtps - -{tool} INBUILDTOOL inbuild inbuild - -{tool} INTERTOOL inter inter +{tool} INBLORB inblorb inblorb otools +{tool} INDOC indoc indoc otools +{tool} INFORM7 inform7 inform7 ctools +{tool} INPOLICY inpolicy inpolicy otools +{tool} INRTPS inrtps inrtps otools +{tool} INBUILDTOOL inbuild inbuild ctools +{tool} INTERTOOL inter inter ctools # Inform 6 is not a web, so we have to give it special treatment: @@ -85,19 +78,23 @@ INFORM6X = inform6/Tangled/inform6 # While these are also executables, they only provide unit tests for modules: -{tool} INFLECTIONSTEST inflections-test inform7/inflections-test +{tool} INFLECTIONSTEST inflections-test inform7/inflections-test utools +{tool} LINGUISTICSTEST linguistics-test inform7/linguistics-test utools +{tool} PROBLEMSTEST problems-test inform7/problems-test utools +{tool} SYNTAXTEST syntax-test inbuild/syntax-test utools +{tool} WORDSTEST words-test inbuild/words-test utools +{tool} BUILDINGTEST building-test inter/building-test utools +{tool} ARCHTEST arch-test inbuild/arch-test utools -{tool} LINGUISTICSTEST linguistics-test inform7/linguistics-test +# And here are other webs: -{tool} PROBLEMSTEST problems-test inform7/problems-test - -{tool} SYNTAXTEST syntax-test inbuild/syntax-test - -{tool} WORDSTEST words-test inbuild/words-test - -{tool} BUILDINGTEST building-test inter/building-test - -{tool} ARCHTEST arch-test inbuild/arch-test +{web} BASICINFORMKIT BasicInformKit inform7/Internal/Inter/BasicInformKit kits +{web} WORLDMODELKIT WorldModelKit inform7/Internal/Inter/WorldModelKit kits +{web} COMMANDPARSERKIT CommandParserKit inform7/Internal/Inter/CommandParserKit kits +{web} BASICINFORMEXTRASKIT BasicInformExtrasKit inform7/Internal/Inter/BasicInformExtrasKit kits +{web} ENGLISHLANGUAGEKIT EnglishLanguageKit inform7/Internal/Inter/EnglishLanguageKit kits +{web} STANDARDRULES standard_rules inform7/extensions/standard_rules extensions +{web} BASICINFORM basic_inform inform7/extensions/basic_inform extensions # ----------------------------------------------------------------------------- # Targets "all" and "force" @@ -132,8 +129,8 @@ inform7/Internal/Languages/English/Syntax.preform: inform7/Tangled/Syntax.prefor .PHONY: makers makers: - {repeat-tools-block} - $(INWEBX) $(*WEB) -makefile $(*MAKER) + {repeat-tools-block:all} + $(INWEBX) $(@WEB) -makefile $(@MAKER) {end-block} $(INWEBX) -prototype inform6/makescript.txt -makefile inform6/inform6.mk $(INWEBX) -prototype retrospective/makescript.txt -makefile retrospective/makefile @@ -146,8 +143,8 @@ makers: .PHONY: gitignores gitignores: $(INWEBX) -prototype scripts/gitignorescript.txt -gitignore .gitignore - {repeat-tools-block} - $(INWEBX) $(*WEB) -gitignore $(*WEB)/.gitignore + {repeat-tools-block:all} + $(INWEBX) $(@WEB) -gitignore $(@WEB)/.gitignore {end-block} $(INWEBX) -prototype inform6/gitignorescript.txt -gitignore inform6/.gitignore @@ -158,8 +155,8 @@ gitignores: .PHONY: versions versions: - {repeat-tools-block} - $(*X) -version + {repeat-tools-block:all} + $(@X) -version {end-block} $(INFORM6X) -V @@ -206,11 +203,11 @@ forcekits: # Note the use of repeat to make a list: $(INBLORBX) $(INDOCX) ..., etc. .PHONY: tools -tools: {repeat-tools-span}$(*X){end-span} $(INFORM6X) +tools: {repeat-tools-span}$(@X){end-span} $(INFORM6X) -{repeat-tools-block} -$(*X): {dependent-files-for-tool}* - $(MAKE) -f $(*MAKER) +{repeat-tools-block:all} +$(@X): {dependent-files-for-tool-and-modules}@ + $(MAKE) -f $(@MAKER) {end-block} @@ -237,8 +234,8 @@ retrospective: .PHONY: forcetools forcetools: - {repeat-tools-block} - $(MAKE) -f $(*MAKER) force + {repeat-tools-block:all} + $(MAKE) -f $(@MAKER) force $(MAKE) -f inform6/inform6.mk force {end-block} @@ -254,8 +251,8 @@ forcetools: check: $(MAKE) -f inform6/inform6.mk test $(INPOLICYX) -silence -check-problems - {repeat-tools-block} - $(MAKE) -f $(*MAKER) test + {repeat-tools-block:all} + $(MAKE) -f $(@MAKER) test {end-block} # ----------------------------------------------------------------------------- @@ -269,8 +266,8 @@ tangle: $(call tangle-webs) define tangle-webs - {repeat-tools-block} - $(INWEBX) $(*WEB) -tangle + {repeat-tools-block:all} + $(INWEBX) $(@WEB) -tangle {end-block} endef @@ -287,8 +284,8 @@ weave: $(call weave-webs) define weave-webs - {repeat-tools-block} - $(INWEBX) $(*WEB) $(WEAVEOPTS) + {repeat-tools-block:all} + $(INWEBX) $(@WEB) $(WEAVEOPTS) {end-block} endef @@ -312,95 +309,132 @@ commit: # ----------------------------------------------------------------------------- .PHONY: pages -pages: +pages: readmepage prepages {repeat-tools-span}@PAGES{end-span} \ + {repeat-modules-span}@MPAGES{end-span} morepages + +.PHONY: forcepages +forcepages: readmepage forceprepages {repeat-tools-span}@FORCEPAGES{end-span} \ + {repeat-modules-span}@FORCEMPAGES{end-span} forcemorepages + +.PHONY: readmepage +readmepage: $(INWEBX) -prototype scripts/READMEscript.txt -write-me README.md + +{repeat-tools-block:ctools} +.PHONY: @PAGES +@PAGES: docs/$(@LEAF)/index.html + +docs/$(@LEAF)/index.html: {dependent-files-for-tool-alone}@ + rm -f docs/$(@LEAF)/*.html + $(INWEBX) $(@WEB) -weave-docs -weave-into docs/$(@LEAF) -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Tools:../compiler.html' + +.PHONY: @FORCEPAGES +@FORCEPAGES: + rm -f docs/$(@LEAF)/*.html + $(INWEBX) $(@WEB) -weave-docs -weave-into docs/$(@LEAF) -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Tools:../compiler.html' + +{end-block} + +{repeat-tools-block:otools} +.PHONY: @PAGES +@PAGES: docs/$(@LEAF)/index.html + +docs/$(@LEAF)/index.html: {dependent-files-for-tool-alone}@ + rm -f docs/$(@LEAF)/*.html + $(INWEBX) $(@WEB) -weave-docs -weave-into docs/$(@LEAF) -navigation docs/docs-src/navo.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Other Tools:../other.html' + +.PHONY: @FORCEPAGES +@FORCEPAGES: + rm -f docs/$(@LEAF)/*.html + $(INWEBX) $(@WEB) -weave-docs -weave-into docs/$(@LEAF) -navigation docs/docs-src/navo.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Other Tools:../other.html' + +{end-block} + +{repeat-tools-block:utools} +.PHONY: @PAGES +@PAGES: docs/$(@LEAF)/index.html + +docs/$(@LEAF)/index.html: {dependent-files-for-tool-and-modules}@ + rm -f docs/$(@LEAF)/*.html + $(INWEBX) $(@WEB) -weave-docs -weave-into docs/$(@LEAF) -navigation docs/docs-src/navu.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Unit Test Tools:../units.html' + +.PHONY: @FORCEPAGES +@FORCEPAGES: + rm -f docs/$(@LEAF)/*.html + $(INWEBX) $(@WEB) -weave-docs -weave-into docs/$(@LEAF) -navigation docs/docs-src/navu.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Unit Test Tools:../units.html' + +{end-block} + +{repeat-modules-block:all} +.PHONY: @MPAGES +@MPAGES: docs/$(@LEAF)-module/index.html + +docs/$(@LEAF)-module/index.html: {dependent-files-for-module}@ + rm -f docs/$(@LEAF)-module/*.html + $(INWEBX) $(@WEB) -weave-docs -weave-into docs/$(@LEAF)-module -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Modules:../compiler.html' + +.PHONY: @FORCEMPAGES +@FORCEMPAGES: + rm -f docs/$(@LEAF)-module/*.html + $(INWEBX) $(@WEB) -weave-docs -weave-into docs/$(@LEAF)-module -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Modules:../compiler.html' + +{end-block} + +.PHONY: prepages +prepages: docs/webs.html docs/compiler.html docs/extensions.html docs/other.html docs/units.html + +docs/webs.html: docs/docs-src/webs.inweb docs/docs-src/nav.html + $(INWEBX) docs/docs-src/webs.inweb -weave-as GitHubCovers -weave-into docs -navigation docs/docs-src/nav.html + +docs/compiler.html: docs/docs-src/compiler.inweb docs/docs-src/navc-o.html + $(INWEBX) docs/docs-src/compiler.inweb -weave-as GitHubCovers -weave-into docs -navigation docs/docs-src/navc-o.html + +docs/extensions.html: docs/docs-src/extensions.inweb docs/docs-src/navc-o.html + $(INWEBX) docs/docs-src/extensions.inweb -weave-as GitHubCovers -weave-into docs -navigation docs/docs-src/navc-o.html + +docs/other.html: docs/docs-src/other.inweb docs/docs-src/navc-o.html + $(INWEBX) docs/docs-src/other.inweb -weave-as GitHubCovers -weave-into docs -navigation docs/docs-src/navc-o.html + +docs/units.html: docs/docs-src/units.inweb docs/docs-src/navc-o.html + $(INWEBX) docs/docs-src/units.inweb -weave-as GitHubCovers -weave-into docs -navigation docs/docs-src/navc-o.html + +.PHONY: forceprepages +forceprepages: rm -f docs/*.html $(INWEBX) docs/docs-src/webs.inweb -weave-as GitHubCovers -weave-into docs -navigation docs/docs-src/nav.html $(INWEBX) docs/docs-src/compiler.inweb -weave-as GitHubCovers -weave-into docs -breadcrumb 'Source:webs.html' -navigation docs/docs-src/navc-o.html $(INWEBX) docs/docs-src/extensions.inweb -weave-as GitHubCovers -weave-into docs -breadcrumb 'Source:webs.html' -navigation docs/docs-src/navk-o.html $(INWEBX) docs/docs-src/other.inweb -weave-as GitHubCovers -weave-into docs -breadcrumb 'Source:webs.html' -navigation docs/docs-src/navo-o.html $(INWEBX) docs/docs-src/units.inweb -weave-as GitHubCovers -weave-into docs -breadcrumb 'Source:webs.html' -navigation docs/docs-src/navu-o.html - rm -f docs/BasicInformKit/*.html - $(INWEBX) inform7/Internal/Inter/BasicInformKit -weave-docs -weave-into docs/BasicInformKit -navigation docs/docs-src/navk.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Kits:../extensions.html' - rm -f docs/WorldModelKit/*.html - $(INWEBX) inform7/Internal/Inter/WorldModelKit -weave-docs -weave-into docs/WorldModelKit -navigation docs/docs-src/navk.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Kits:../extensions.html' - rm -f docs/CommandParserKit/*.html - $(INWEBX) inform7/Internal/Inter/CommandParserKit -weave-docs -weave-into docs/CommandParserKit -navigation docs/docs-src/navk.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Kits:../extensions.html' - rm -f docs/BasicInformExtrasKit/*.html - $(INWEBX) inform7/Internal/Inter/BasicInformExtrasKit -weave-docs -weave-into docs/BasicInformExtrasKit -navigation docs/docs-src/navk.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Kits:../extensions.html' - rm -f docs/EnglishLanguageKit/*.html - $(INWEBX) inform7/Internal/Inter/EnglishLanguageKit -weave-docs -weave-into docs/EnglishLanguageKit -navigation docs/docs-src/navk.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Kits:../extensions.html' - rm -f docs/inblorb/*.html - $(INBLORBX) -help >inblorb/Figures/help.txt - $(INWEBX) inblorb -weave-docs -weave-into docs/inblorb -navigation docs/docs-src/navo.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Other Tools:../other.html' - rm -f docs/inbuild/*.html - $(INBUILDX) -help >inbuild/Figures/help.txt - $(INWEBX) inbuild -weave-docs -weave-into docs/inbuild -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Tools:../compiler.html' - rm -f docs/arch-module/*.html - $(INWEBX) inbuild/arch-module -weave-docs -weave-into docs/arch-module -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Modules:../compiler.html' - rm -f docs/syntax-module/*.html - $(INWEBX) inbuild/syntax-module -weave-docs -weave-into docs/syntax-module -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Modules:../compiler.html' - rm -f docs/syntax-test/*.html - $(INWEBX) inbuild/syntax-test -weave-docs -weave-into docs/syntax-test -navigation docs/docs-src/navu.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Unit Test Tools:../units.html' - rm -f docs/words-module/*.html - $(INWEBX) inbuild/words-module -weave-docs -weave-into docs/words-module -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Modules:../compiler.html' - rm -f docs/words-test/*.html - $(INWEBX) inbuild/words-test -weave-docs -weave-into docs/words-test -navigation docs/docs-src/navu.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Unit Test Tools:../units.html' - rm -f docs/inbuild-module/*.html - $(INWEBX) inbuild/inbuild-module -weave-docs -weave-into docs/inbuild-module -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Modules:../compiler.html' - rm -f docs/html-module/*.html - $(INWEBX) inbuild/html-module -weave-docs -weave-into docs/html-module -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Modules:../compiler.html' - rm -f docs/indoc/*.html - $(INDOCX) -help >indoc/Figures/help.txt - $(INWEBX) indoc -weave-docs -weave-into docs/indoc -navigation docs/docs-src/navo.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Other Tools:../other.html' - rm -f docs/inform7/*.html - $(INFORM7X) -help >inform7/Figures/help.txt - $(INWEBX) inform7 -weave-docs -weave-into docs/inform7 -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Tools:../compiler.html' - rm -f docs/core-module/*.html - $(INWEBX) inform7/core-module -weave-docs -weave-into docs/core-module -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Modules:../compiler.html' - rm -f docs/if-module/*.html - $(INWEBX) inform7/if-module -weave-docs -weave-into docs/if-module -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Modules:../compiler.html' - rm -f docs/index-module/*.html - $(INWEBX) inform7/index-module -weave-docs -weave-into docs/index-module -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Modules:../compiler.html' - rm -f docs/inflections-module/*.html - $(INWEBX) inform7/inflections-module -weave-docs -weave-into docs/inflections-module -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Modules:../compiler.html' - rm -f docs/arch-test/*.html - $(INWEBX) inbuild/arch-test -weave-docs -weave-into docs/arch-test -navigation docs/docs-src/navu.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Unit Test Tools:../units.html' - rm -f docs/building-test/*.html - $(INWEBX) inter/building-test -weave-docs -weave-into docs/building-test -navigation docs/docs-src/navu.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Unit Test Tools:../units.html' - rm -f docs/inflections-test/*.html - $(INWEBX) inform7/inflections-test -weave-docs -weave-into docs/inflections-test -navigation docs/docs-src/navu.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Unit Test Tools:../units.html' - rm -f docs/kinds-module/*.html - $(INWEBX) inform7/kinds-module -weave-docs -weave-into docs/kinds-module -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Modules:../compiler.html' - rm -f docs/linguistics-module/*.html - $(INWEBX) inform7/linguistics-module -weave-docs -weave-into docs/linguistics-module -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Modules:../compiler.html' - rm -f docs/linguistics-test/*.html - $(INWEBX) inform7/linguistics-test -weave-docs -weave-into docs/linguistics-test -navigation docs/docs-src/navu.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Unit Test Tools:../units.html' - rm -f docs/multimedia-module/*.html - $(INWEBX) inform7/multimedia-module -weave-docs -weave-into docs/multimedia-module -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Modules:../compiler.html' - rm -f docs/problems-module/*.html - $(INWEBX) inform7/problems-module -weave-docs -weave-into docs/problems-module -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Modules:../compiler.html' - rm -f docs/problems-test/*.html - $(INWEBX) inform7/problems-test -weave-docs -weave-into docs/problems-test -navigation docs/docs-src/navu.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Unit Test Tools:../units.html' - rm -f docs/inpolicy/*.html - $(INPOLICYX) -help >inpolicy/Figures/help.txt - $(INWEBX) inpolicy -weave-docs -weave-into docs/inpolicy -navigation docs/docs-src/navo.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Other Tools:../other.html' - rm -f docs/inrtps/*.html - $(INRTPSX) -help >inrtps/Figures/help.txt - $(INWEBX) inrtps -weave-docs -weave-into docs/inrtps -navigation docs/docs-src/navo.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Other Tools:../other.html' - rm -f docs/inter/*.html - $(INTERX) -help >inter/Figures/help.txt - $(INWEBX) inter -weave-docs -weave-into docs/inter -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Tools:../compiler.html' - rm -f docs/inter-module/*.html - $(INWEBX) inter/inter-module -weave-docs -weave-into docs/inter-module -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Modules:../compiler.html' - rm -f docs/codegen-module/*.html - $(INWEBX) inter/codegen-module -weave-docs -weave-into docs/codegen-module -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Modules:../compiler.html' - rm -f docs/building-module/*.html - $(INWEBX) inter/building-module -weave-docs -weave-into docs/building-module -navigation docs/docs-src/navc.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Compiler Modules:../compiler.html' - rm -f docs/standard_rules/*.html - $(INWEBX) inform7/extensions/standard_rules -weave-docs -weave-into docs/standard_rules -navigation docs/docs-src/navk.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Extensions:../extensions.html' - rm -f docs/basic_inform/*.html - $(INWEBX) inform7/extensions/basic_inform -weave-docs -weave-into docs/basic_inform -navigation docs/docs-src/navk.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Extensions:../extensions.html' + +.PHONY: morepages +morepages: {repeat-webs-span}docs/$(@LEAF)/index.html{end-span} + +{repeat-webs-block:kits} + +docs/$(@LEAF)/index.html: {dependent-files-for-tool-alone}@ + rm -f docs/$(@LEAF)/*.html + $(INWEBX) $(@WEB) -weave-docs -weave-into docs/$(@LEAF) -navigation docs/docs-src/navk.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Kits:../extensions.html' + +{end-block} +{repeat-webs-block:extensions} + +docs/$(@LEAF)/index.html: {dependent-files-for-tool-alone}@ + rm -f docs/$(@LEAF)/*.html + $(INWEBX) $(@WEB) -weave-docs -weave-into docs/$(@LEAF) -navigation docs/docs-src/navk.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Extensions:../extensions.html' + +{end-block} + +.PHONY: forcemorepages +forcemorepages: +{repeat-webs-block:kits} + rm -f docs/$(@LEAF)/*.html + $(INWEBX) $(@WEB) -weave-docs -weave-into docs/$(@LEAF) -navigation docs/docs-src/navk.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Kits:../extensions.html' +{end-block} +{repeat-webs-block:extensions} + rm -f docs/$(@LEAF)/*.html + $(INWEBX) $(@WEB) -weave-docs -weave-into docs/$(@LEAF) -navigation docs/docs-src/navk.html -breadcrumb 'Source:../webs.html' -breadcrumb 'Extensions:../extensions.html' +{end-block} # ----------------------------------------------------------------------------- # Target "clean" @@ -413,8 +447,8 @@ clean: $(call clean-up) define clean-up - {repeat-tools-block} - $(MAKE) -f $(*MAKER) clean + {repeat-tools-block:all} + $(MAKE) -f $(@MAKER) clean {end-block} $(MAKE) -f inform6/inform6.mk clean endef @@ -430,8 +464,8 @@ purge: $(call purge-up) define purge-up - {repeat-tools-block} - $(MAKE) -f $(*MAKER) purge + {repeat-tools-block:all} + $(MAKE) -f $(@MAKER) purge {end-block} $(MAKE) -f inform6/inform6.mk purge endef