diff options
author | fbarriere <fbarriere> | 2002-03-20 21:26:29 +0000 |
---|---|---|
committer | fbarriere <fbarriere> | 2002-03-20 21:26:29 +0000 |
commit | 7d301026e02027f9bfb695162a59c726a8861da2 (patch) | |
tree | 667ed763d9c5f119a882bf0c5ac7b9ef7b58f2e9 /manual/Makefile | |
parent | e793e9aa8ed1f0f188b18e48cd33d4e1b6c2855e (diff) | |
download | sylpheeddoc-doc-7d301026e02027f9bfb695162a59c726a8861da2.tar.gz sylpheeddoc-doc-7d301026e02027f9bfb695162a59c726a8861da2.tar.xz sylpheeddoc-doc-7d301026e02027f9bfb695162a59c726a8861da2.zip |
Now just a wrapper around the unique Makefile you should find
in the parent directory.
Diffstat (limited to 'manual/Makefile')
-rw-r--r-- | manual/Makefile | 80 |
1 files 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=<path-to-sgml2html> 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 $@ |