From 7d301026e02027f9bfb695162a59c726a8861da2 Mon Sep 17 00:00:00 2001 From: fbarriere Date: Wed, 20 Mar 2002 21:26:29 +0000 Subject: Now just a wrapper around the unique Makefile you should find in the parent directory. --- manual/Makefile | 80 ++++++--------------------------------------------------- 1 file changed, 8 insertions(+), 72 deletions(-) diff --git a/manual/Makefile b/manual/Makefile index 371e243..cd5719f 100644 --- a/manual/Makefile +++ b/manual/Makefile @@ -1,15 +1,14 @@ ###################################################################### -# Generate HTML pages from SGML docs. -# ================================== # -# You may need to define (if the default location does not -# correspond to your installation) the SGML_TOOL variable -# (using SGML_TOOL= on the make command -# line). -# The other vars can be left to their default values. +# Just a wrapper to launch the 'big' Makefile from above... +# For details read ../Makefile. # ###################################################################### # $Log: Makefile,v $ +# Revision 1.5 2002/03/20 21:26:29 fbarriere +# Now just a wrapper around the unique Makefile you should find +# in the parent directory. +# # Revision 1.4 2002/03/12 20:41:45 nikai # sgml2html language support # @@ -24,68 +23,5 @@ # ###################################################################### -SGML_TOOL := /usr/bin/sgml2html -SGML_TOOL_OPT := --language=$(LANG1) -#SGML_TOOL_OPT := --imagebuttons - -# -# Defines the list of languages to process. -# -LANGS := en fr es de - -# -# Where are the HTML pages: -# -HTML_DIR := HTML - -# -# Some standard shell tools: -# -MKDIR := mkdir -CAT := /bin/cat -RM := /bin/rm -rf - -# -# Edits under this point are not recommended. -# #################################################### - -ROOT_DIR := $(shell pwd) - -# -# Top level targets: then per language targets. -# - -all: - @ for LANG1 in $(LANGS);\ - do\ - echo "***Processing: $$LANG1";\ - if [ ! -d $(HTML_DIR) ];\ - then\ - $(MKDIR) $(HTML_DIR);\ - fi;\ - if [ ! -d $(HTML_DIR)/$$LANG1 ];\ - then\ - $(MKDIR) $(HTML_DIR)/$$LANG1;\ - fi;\ - $(MAKE) -f $(ROOT_DIR)/Makefile -C $(HTML_DIR)/$$LANG1 LANG1=$$LANG1 ROOT_DIR=$(ROOT_DIR) user_guide.html;\ - done; - -# -# Targets: the final one(s), generate the HTML(s). -# - -user_guide.html: user_guide.sgml - @ echo "******Starting $(SGML_TOOL)." - @ $(SGML_TOOL) $(SGML_TOOL_OPT) user_guide.sgml - -user_guide.sgml: $(ROOT_DIR)/$(LANG1)/*.sgml - @ echo "******Building full SGML file." - @ $(CAT) $(ROOT_DIR)/$(LANG1)/*.sgml > user_guide.sgml - - -# -# Usual clean target: -# - -clean: - - $(RM) $(HTML_DIR) +.DEFAULT: + $(MAKE) -C .. ALL_TYPES=manual $@ -- cgit