From 776f1a3bb4ee326f60cf4e1944ff80c1a3878d1e Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 9 Sep 2008 12:29:19 +0200 Subject: [PATCH] Doc. system: Renamed doc utilities to match local conventions. First, we do not use filename extensions for scripts which are not "compiled" (e.g., the scripts that are a part of the build system). Second, we prefer to build the naming hierarchy from the opposite end. --- build/Makebottom | 4 ++-- build/{def-doc.pl => doc-defs} | 0 build/{extract-doc.pl => doc-extract} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename build/{def-doc.pl => doc-defs} (100%) rename build/{extract-doc.pl => doc-extract} (100%) diff --git a/build/Makebottom b/build/Makebottom index a0063756..772b4cbc 100644 --- a/build/Makebottom +++ b/build/Makebottom @@ -201,12 +201,12 @@ $(o)/%.html: $(o)/%.txt $(patsubst %.html,%.txt,$(DOC_INDICES)): $(o)/%.txt: $(M)"DOC-DEFS $@" $(Q)echo $@: $(DOC_HEAD) $(DOC_LIST) >> $(o)/depend.new - $(Q)$(s)/build/def-doc.pl $(DOC_HEAD) $@ $(DOC_LIST) + $(Q)$(s)/build/doc-defs $(DOC_HEAD) $@ $(DOC_LIST) #FIXME: this one outputs .deflist too. How do I specify that one run of the rule has multiple target files? $(patsubst %.html,%.txt,$(DOCS)): $(o)/%.txt: $(s)/%.txt $(M)"DOC-EXT $<" - $(Q)$(s)/build/extract-doc.pl $< $@ $(o)/depend.new $(s) $(patsubst %.txt,%.deflist,$@) + $(Q)$(s)/build/doc-extract $< $@ $(o)/depend.new $(s) $(patsubst %.txt,%.deflist,$@) # Default installation target diff --git a/build/def-doc.pl b/build/doc-defs similarity index 100% rename from build/def-doc.pl rename to build/doc-defs diff --git a/build/extract-doc.pl b/build/doc-extract similarity index 100% rename from build/extract-doc.pl rename to build/doc-extract -- 2.39.2