List:Internals« Previous MessageNext Message »
From:paul Date:June 15 2005 2:59am
Subject:bk commit - mysqldoc@docsrva tree (paul:1.2786)
View as plain text  
Below is the list of changes that have just been committed into a local
mysqldoc repository of paul. When paul does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://www.mysql.com/doc/I/n/Installing_source_tree.html

ChangeSet
  1.2786 05/06/14 21:59:17 paul@stripped +1 -0
  New file.

  refman/Makefile
    1.1 05/06/14 21:59:14 paul@stripped +251 -0

  refman/Makefile
    1.0 05/06/14 21:59:14 paul@stripped +0 -0
    BitKeeper file /Volumes/frost2/MySQL/bk/mysqldoc/refman/Makefile

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	paul
# Host:	frost.snake.net
# Root:	/Volumes/frost2/MySQL/bk/mysqldoc
--- New file ---
+++ refman/Makefile	05/06/14 21:59:14
# Makefile for MySQL Reference Manual

# Formats we need for docsrva
# chm
# html-chapter
# html-section
# html-web
# html      NOT TESTED
# info      NOT TESTED
# pdf-a4
# pdf
# txt       NOT TESTED
# xhtml     NOT TESTED

# Location of repository root relative to current directory
REPO_ROOT = ..

# Location of directory containing Makefile components
MAKE_DIR = $(REPO_ROOT)/make.d

all::
	@echo "You must say what you want to do."
	@echo "Some commands supported by this Makefile:"
	@echo "  make clean"
	@echo "  make doc_name.html"
	@echo "  make doc_name.pdf"
	@echo "  make doc_name.txt"

# Dependency list for MySQL Reference Manual

### THIS IS INCOMPLETE

MANUAL_SRCS = \
	manual.xml \
	preface.xml  \
	introduction.xml  \
	installing.xml  \
	tutorial.xml  \
	using-mysql-programs.xml  \
	mysql-database-administration.xml  \
	replication.xml  \
	mysql-optimization.xml  \
	client-side-scripts.xml  \
	language-structure.xml  \
	charset.xml  \
	column-types.xml  \
	functions.xml  \
	sql-syntax.xml  \
	storage-engines.xml  \
	innodb.xml  \
	ndbcluster.xml  \
	images/cluster-components-1.png  \
	images/multi-comp-1.png  \
	maxdb.xml  \
	spatial-extensions-in-mysql.xml  \
	stored-procedures.xml  \
	triggers.xml  \
	views.xml  \
	information-schema.xml  \
	precision-math.xml  \
	mysql-apis.xml  \
	mysql-connectors.xml  \
	images/myarchitecture.png  \
	images/mydsn-icon.png  \
	images/mydsn.png  \
	images/mydsn-setup.png  \
	images/mydsn-example.png  \
	images/mydsn-test-success.png  \
	images/mydsn-test-fail.png  \
	images/mydsn-options.png  \
	images/mydsn-icon.png  \
	images/mydsn.png  \
	images/mydsn-trace.png  \
	images/myaccess.png  \
	images/myaccess-odbc.png  \
	images/mydsn-trace.png  \
	images/mydll-properties.png  \
	images/mydsn-options.png  \
	images/myflowchart.png  \
	error-handling.xml  \
	extending-mysql.xml  \
	problems.xml  \
	credits.xml  \
	todo.xml  \
	news.xml  \
	porting.xml  \
	environment-variables.xml  \
	regexp.xml  \
	gpl-license.xml  \
	mysql-floss-license-exception.xml


manual-prepped.xml: $(MANUAL_SRCS)

# Overrides for generic rules

manual.html-section.d: manual-prepped.xml $(MYSQL_HTML_SECTION_XSL)
	-$(RM) -r $@/
	mkdir $@/
	$(XSLTPROC) \
		--stringparam l10n.gentext.default.language `$(STEM_LANG_CODE) manual` \
		--output $@/ \
		$(MYSQL_HTML_SECTION_XSL) \
		$<
	if [ `expr "$@" : 'manual\.'` -gt 0 ]; then \
		$(RM) -r $@/images; \
		mkdir $@/images; \
		cp images/*.gif images/*.jpg images/*.png $@/images; \
	fi

# Setting chunk.section.depth to 0 causes chunking at the chapter level

manual.html-chapter.d: manual-prepped.xml $(MYSQL_HTML_SECTION_XSL)
	-$(RM) -r $@/
	mkdir $@/
	$(XSLTPROC) \
		--stringparam l10n.gentext.default.language `$(STEM_LANG_CODE) manual` \
		--param chunk.section.depth 0 \
		--output $@/ \
		$(MYSQL_HTML_SECTION_XSL) \
		$<
	if [ `expr "$@" : 'manual\.'` -gt 0 ]; then \
		$(RM) -r $@/images; \
		mkdir $@/images; \
		cp images/*.gif images/*.jpg images/*.png $@/images; \
	fi

manual.html-web.d: manual-prepped.xml $(MYSQL_HTML_WEB_XSL)
	-$(RM) -r $@/
	mkdir $@/
	$(XSLTPROC) \
		--stringparam l10n.gentext.default.language `$(STEM_LANG_CODE) manual` \
		--stringparam document.name.stem manual \
		--output $@/ \
		$(MYSQL_HTML_WEB_XSL) \
		$<
	if [ `expr "$@" : 'manual\.'` -gt 0 ]; then \
		$(RM) -r $@/images; \
		mkdir $@/images; \
		cp images/*.gif images/*.jpg images/*.png $@/images; \
	fi

manual.html-help.d: manual-prepped.xml $(MYSQL_HTML_HELP_XSL)
	-$(RM) -r $@/
	mkdir $@/
	$(XSLTPROC) \
		--stringparam l10n.gentext.default.language `$(STEM_LANG_CODE) manual` \
		--output $@/ \
		$(MYSQL_HTML_HELP_XSL) \
		$<
	if [ `expr "$@" : 'manual\.'` -gt 0 ]; then \
		$(RM) -r $@/images; \
		mkdir $@/images; \
		cp images/*.gif images/*.jpg images/*.png $@/images; \
	fi

mysql.info: manual.info
	cp manual.info mysql.info

# Fragment files that need to be generated for inclusion with
# MySQL distributions. Most depend on manual.txt, one depends on XML
# sources.

TEXT_FRAGMENT_FILES = \
	INSTALL-SOURCE \
	INSTALL-WIN-SOURCE \
	INSTALL-BINARY \
	COPYING \
	EXCEPTIONS-CLIENT \
	CHANGELOG \
	ReadMe.txt

HTML_FRAGMENT_FILES = \
	ReadMe.html

fragment-files: $(TEXT_FRAGMENT_FILES) $(HTML_FRAGMENT_FILES)

GT = $(TOOLS_DIR)/generate-text-files.pl

INSTALL-SOURCE: manual.txt $(GT)
	perl -w $(GT) manual.txt \
		"Installing MySQL" \
		"MySQL Tutorial" \
		> $@

INSTALL-WIN-SOURCE: manual.txt $(GT)
	perl -w $(GT) manual.txt \
		"Installing MySQL from Source on Windows" \
		"Post-Installation Setup and Testing" \
		> $@

INSTALL-BINARY: manual.txt $(GT)
	perl -w $(GT) manual.txt \
		"Installing MySQL on Other Unix-Like Systems" \
		"MySQL Installation Using a Source Distribution" \
		> $@

COPYING: manual.txt $(GT)
	perl -w $(GT) manual.txt \
		"GNU General Public License" \
		"MySQL FLOSS License Exception" \
		> $@

EXCEPTIONS-CLIENT: manual.txt $(GT)
	perl -w $(GT) manual.txt \
		"MySQL FLOSS License Exception" \
		> $@

CHANGELOG: manual.txt $(GT)
	perl -w $(GT) manual.txt \
		"MySQL Change History" \
		"Porting to Other Systems" \
		> $@

ReadMe.txt: manual.txt $(GT)
	perl -w $(GT) manual.txt \
		"Installing MySQL on Mac OS X" \
		"Installing MySQL on NetWare" \
		> $@

ReadMe.html: $(MANUAL_SRCS)
	$(CHAPTERFMT) --no-rebuild mac-os-x-installation.html
	mv mac-os-x-installation.html ReadMe.html
	$(RM) mac-os-x-installation.*

# Import standard variables and target rules
include $(MAKE_DIR)/vars-layout
include $(MAKE_DIR)/vars-shell
include $(MAKE_DIR)/vars-docbook
include $(MAKE_DIR)/xml-valid
include $(MAKE_DIR)/xml-format
include $(MAKE_DIR)/xml-useless
include $(MAKE_DIR)/xml-prep
#include $(MAKE_DIR)/xml-html
include $(MAKE_DIR)/xml-html-section
include $(MAKE_DIR)/xml-html-chapter
include $(MAKE_DIR)/xml-html-web
include $(MAKE_DIR)/xml-html-help
#include $(MAKE_DIR)/xml-xhtml
include $(MAKE_DIR)/xml-pdf
include $(MAKE_DIR)/xml-txt
include $(MAKE_DIR)/xml-texi
include $(MAKE_DIR)/texi-info
include $(MAKE_DIR)/xml-toc

# Programs to determine language code or encoding from target stem.
# (E.g., manual -> en (default is English), manual.de -> de)

STEM_LANG_CODE = $(TOOLS_DIR)/stem-lang-code
STEM_LANG_ENCODING = $(TOOLS_DIR)/stem-lang-code --encoding
CHAPTERFMT = $(TOOLS_DIR)/chapterfmt.pl
Thread
bk commit - mysqldoc@docsrva tree (paul:1.2786)paul15 Jun