Permalink
Browse files

remove book build

  • Loading branch information...
1 parent 9aa5bee commit 3540c5361f33486314c17f533cfd6aa4b5201ac1 @zag committed Mar 21, 2011
View
@@ -1,25 +0,0 @@
-# gmake PREFIX=/tmp install
-
-SUBDIRS = xml book
-
-all: $(SUBDIRS)
-
-install:
- for dir in $(SUBDIRS); do \
- $(MAKE) -C $$dir $@; \
- done
-
-book:xml
-
-$(SUBDIRS) :
- ${MAKE} -C $@
-
-clean:
- for dir in $(SUBDIRS); do \
- $(MAKE) -C $$dir $@; \
- done
-
-#walk subdirs
-.PHONY: subdirs $(SUBDIRS)
-
-#subdirs: GNUmakefile.ink $(SUBDIRS)
View
@@ -1,17 +0,0 @@
-#*************************
-# VARIABLES
-#*************************
-include ../tools/Makefile.base-vars
-
-NAME = book
-OUTNAME = ru-perl6-book
-DIR = book
-#FO_XSL= fo.book-stylesheet.xsl
-#include ../tools/Makefile.base
-
-all:
- ${MAKE} install INSTALL_SUBDIR=../latest_build
-
-include ../tools/Makefile.base-rules
-
-IMAGES = img
View
@@ -1,32 +0,0 @@
-<?xml version='1.0' encoding="UTF-8"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3CR1//EN"
- "file:///usr/local/share/xml/docbook/4.5/docbookx.dtd" [
-<!ENTITY bookinfo SYSTEM "bookinfo.xml">
-<!ENTITY book_preface SYSTEM "../xml/book_preface.xml">
-<!ENTITY intro SYSTEM "../xml/preface.xml">
-<!ENTITY basics SYSTEM "../xml/basics.xml">
-<!ENTITY operators SYSTEM "../xml/operators.xml">
-<!ENTITY subs-n-sigs SYSTEM "../xml/subs-n-sigs.xml">
-<!ENTITY classes-and-objects SYSTEM "../xml/classes-and-objects.xml">
-<!ENTITY multi-dispatch SYSTEM "../xml/multi-dispatch.xml">
-<!ENTITY roles SYSTEM "../xml/roles.xml">
-<!ENTITY subtypes SYSTEM "../xml/subtypes.xml">
-<!ENTITY regexes SYSTEM "../xml/regexes.xml">
-<!ENTITY grammars SYSTEM "../xml/grammars.xml">
-<!ENTITY builtins SYSTEM "../xml/builtins.xml">
-]>
-<book lang="ru">
-&bookinfo;
-&book_preface;
-&intro;
-&basics;
-&operators;
-&subs-n-sigs;
-&classes-and-objects;
-&multi-dispatch;
-&roles;
-&subtypes;
-&regexes;
-&grammars;
-&builtins;
-</book>
View
@@ -1,65 +0,0 @@
-<bookinfo>
- <title>Все о Perl 6</title>
- <subtitle>Справочное руководство</subtitle>
- <pubdate>08.01.2011</pubdate>
- <author>
- <firstname>Джонатан</firstname>
- <surname>Вортингтон</surname>
- </author>
- <author>
- <firstname>Патрик</firstname>
- <surname>Мишо</surname>
- </author>
- <author>
- <firstname>Карл</firstname>
- <surname>Мэсак</surname>
- </author>
- <author>
- <firstname>Мориц</firstname>
- <surname>Ленц</surname>
- </author>
- <author>
- <firstname>Скот</firstname>
- <lineage>Джонатан</lineage>
- <surname>Даф</surname>
- </author>
-
- <revhistory>
- <revision>
- <revnumber>v0.5</revnumber>
- <date>Jan 08th 2011</date>
- <authorinitials>zag</authorinitials>
- <revremark>Подпрограммы и сигнатуры</revremark>
- </revision>
- <revision>
- <revnumber>v0.4</revnumber>
- <date>Oct 13th 2010</date>
- <authorinitials>zag</authorinitials>
- <revremark>Операторы</revremark>
- </revision>
- <revision>
- <revnumber>v0.3</revnumber>
- <date>Sep 5th 2010</date>
- <authorinitials>zag</authorinitials>
- <revremark>Базовый синтаксис</revremark>
- </revision>
- <revision>
- <revnumber>v0.2</revnumber>
- <date>Aug 18th 2010</date>
- <authorinitials>zag</authorinitials>
- <revremark>Предисловие</revremark>
- </revision>
- <revision>
- <revnumber>v0.1</revnumber>
- <date>May 27th 2010</date>
- <authorinitials>zag</authorinitials>
- <revremark>Начальная версия</revremark>
- </revision>
-
- </revhistory>
-
- <abstract>
- <para>Данная книга является сборником статей о Perl 6.</para>
- </abstract>
-
-</bookinfo>
View
@@ -1,26 +0,0 @@
-
-include ../tools/Makefile.base-vars
-NAME ?= book
-OUTNAME ?= book
-DIR ?= book
-IMAGES ?= $(DIR)/images/*.png
-INSTALL_DIR ?= $(DESTDIR)/tmp
-include ../tools/Makefile.base-rules
-
-# Compatibility targets - the book buildsystem had quite target names which
-# were either redundant or overly verbose. These remain for a little while,
-# whilst scripts are adapted, and people retrain their fingers.
-all-book: all
-all-pdf: pdf
-all-ps: ps
-book-version: version
-book-html: html
-book-html-chunk: html-chunk
-book-pdf: pdf
-book-ps: ps
-install-book: install
-install-book-html: install-html
-install-book-html-chunk: install-html-chunk
-install-book-pdf: install-pdf
-install-book-ps: install-ps
-book-clean: clean
View
@@ -1,89 +0,0 @@
-
-all: img html html-multi-file pdf
-#all: html html-multi-file pdf
-#install: install-html install-html-arch install-html-chunk install-html-chunk-arc install-pdf
-install: install-html-arch install-html-chunk-arc install-pdf
-
-img:
- mkdir -p img
-# $(INSTALL_DATA) ../xml/img/* $(IMAGES)
-
-txt: $(TXT_TARGET)
-$(TXT_TARGET):
- $(XSLTPROC) $(FO_XSL) $(XML_SOURCE) > $(FILE).fo
- $(FOP) $(FILE).fo -txt $(FILE).txt
- rm -f $(FILE).fo
-
-html: $(HTML_TARGET)
-$(HTML_TARGET):
- $(XSLTPROC) -o $@ $(XHTML_XSL) $(XML_SOURCE)
-
-html-multi-file: $(HTML_CHUNK_TARGET)
-$(HTML_CHUNK_TARGET):
- mkdir -p $(HTML_CHUNK_DIR)
- $(XSLTPROC) $(HTML_XSLTPROC_OPTS) \
- --output $(HTML_CHUNK_DIR)/ \
- $(HTML_CHUNK_XSL) $(XML_SOURCE)
- #mkdir -p $(HTML_CHUNK_DIR)/img
- #$(INSTALL_DATA) $(IMAGES)/* $(HTML_CHUNK_DIR)/img
-
-
-pdf: $(PDF_TARGET)
-$(PDF_TARGET): $(FO_TARGET)
- $(FOP) $(FO_TARGET) -pdf $(PDF_TARGET) -c $(TOOLS_DIR)/conf/fop.xconf
-
-fo: $(FO_TARGET)
-$(FO_TARGET):
- $(XSLTPROC) $(FO_ARGS) --output $(FO_TARGET) $(FO_XSL) $(XML_SOURCE)
-
-html-multi-file-arch: $(HTML_CHUNK_ARCH_TARGET)
-$(HTML_CHUNK_ARCH_TARGET): $(HTML_CHUNK_TARGET)
- rm -rf $(HTML_CHUNK_ARCH_BASENAME) && \
- $(MAKE) install-html-chunk \
- INSTALL_SUBDIR=$(HTML_CHUNK_ARCH_BASENAME) && \
- $(ARCH_CMD) $@ $(HTML_CHUNK_ARCH_BASENAME) && \
- rm -rf $(HTML_CHUNK_ARCH_BASENAME)
-
-
-html-arch: $(HTML_ARCH_TARGET)
-$(HTML_ARCH_TARGET): $(HTML_TARGET)
- rm -rf $(HTML_ARCH_BASENAME) && \
- $(MAKE) install-html INSTALL_SUBDIR=$(HTML_ARCH_BASENAME) && \
- zip -r $@ $(HTML_ARCH_BASENAME) && \
- rm -rf $(HTML_ARCH_BASENAME)
-
-# Install targets
-$(INSTALL_SUBDIR):
- $(MKDIR) $(INSTALL_SUBDIR)
-
-install-html-chunk: $(HTML_CHUNK_TARGET) $(INSTALL_SUBDIR)
- $(INSTALL_DATA) $(HTML_CHUNK_DIR)/*.html $(INSTALL_SUBDIR)
- $(INSTALL_DATA) $(STYLESHEET) $(INSTALL_SUBDIR)
- mkdir -p $(INSTALL_SUBDIR)/img
- #$(INSTALL_DATA) $(IMAGES)/* $(INSTALL_SUBDIR)/img
-
-install-html-chunk-arc: $(HTML_CHUNK_ARCH_TARGET) $(INSTALL_SUBDIR)
- $(INSTALL_DATA) $(HTML_CHUNK_ARCH_TARGET) $(INSTALL_SUBDIR)
-
-
-install-html: $(HTML_TARGET) $(INSTALL_SUBDIR)
- $(INSTALL_DATA) $(HTML_TARGET) $(INSTALL_SUBDIR)
- $(INSTALL_DATA) $(STYLESHEET) $(INSTALL_SUBDIR)
- mkdir -p $(INSTALL_SUBDIR)/img
- #$(INSTALL_DATA) $(IMAGES)/* $(INSTALL_SUBDIR)/img
-
-install-html-arch: $(HTML_ARCH_TARGET) $(INSTALL_SUBDIR)
- $(INSTALL_DATA) $(HTML_ARCH_TARGET) $(INSTALL_SUBDIR)
-
-install-pdf: $(PDF_TARGET) $(INSTALL_SUBDIR)
- $(INSTALL_DATA) $(PDF_TARGET) $(INSTALL_SUBDIR)
-
-# Clean targets
-clean:
- rm -f $(HTML_TARGET) $(FO_TARGET) $(PDF_TARGET)
- rm -f $(HTML_ARCH_TARGET) $(HTML_CHUNK_ARCH_TARGET)
- rm -rf $(HTML_CHUNK_DIR)
- #unlink $(DIR) if empty
- rm -rf $(DIR)
- rm -rf img
-
View
@@ -1,74 +0,0 @@
-# This file - Makefile.base-vars - together with the file Makefile.base-rules,
-# make up a reusable buildsystem for DocBook XML books.
-# The split into two files is required because of the nature of Make variables:
-# In the case of variables used in commands, expansion occurs when the commands
-# are executed, so values can be overridden by defining a new value after the
-# rule definition - BUT in the case of variables used to specify targets and
-# sources, expansion occurs when Make parses the rule. Therefore, any override
-# must take place BEFORE the rule definition. Since this Makefile fragment
-# wishes to both provide defaults and allow overriding of target and source
-# file names, it is necessary to place the default variable definitions in
-# one file, and the rules in another, so that overrides may be specified
-# after the defaults, but before the rules - like this:
-#
-# include ../tools/Makefile.base-vars
-# NAME = my-book
-# DIR = my-book-dir
-# include ../tools/Makefile.base-rules
-#
-# Note that this is a Makefile fragment intended for inclusion. As a result,
-# all relative paths contained within are relative to including Makefile's
-# directory, not to this fragment's directory. The TOOLS_DIR and DIR variables
-# should be overridden if necessary to ensure proper paths are used.
-
-NAME ?= NOT_DEFINED_NAME
-OUTNAME ?=$(NAME)
-DIR ?= .
-
-DOCDIR ?= ../../WebDAO/contrib
-TOOLS_DIR ?= ../tools
-WWW_DIR ?= ../www
-
-POD2DOC= $(TOOLS_DIR)/podToDocbook.pl
-XSL_DIR = $(TOOLS_DIR)
-FILE = book
-XSLTPROC = /usr/local/bin/xsltproc
-FOP = env JAVA_HOME=/usr/local/openjdk6 /usr/local/bin/fop
-MKDIR= mkdir -p
-INSTALL_DATA = cp -R
-
-
-PREFIX = /usr/share/sgml/docbook
-PREFIX = /usr/local/share/xsl/docbook
-FO_XSL = $(PREFIX)/docbook-xsl-1.64.1/fo/docbook.xsl
-FO_XSL = $(PREFIX)/fo/docbook.xsl
-FO_ARGS = --stringparam fop1.extensions 1
-#--stringparam paper.type A4
-# --stringparam l10n.gentext.language ru \
-# --stringparam highlight.source 1
-#--stringparam use.extensions 1
-
-ARCH_CMD = zip -r
-HTML_XSL = $(PREFIX)/html/docbook.xsl # Gentoo DB HTML
-HTML_CHUNK_XSL = $(PREFIX)/html/chunk.xsl # Gentoo DB HTML CHUNK
-HTML_CHUNK_XSL = $(PREFIX)/xhtml/chunk.xsl
-HTML_CHUNK_XSL = $(TOOLS_DIR)/chunk-stylesheet.xsl
-HTML_XSL = $(PREFIX)/html/docbook.xsl
-XHTML_XSL = $(PREFIX)/xhtml/docbook.xsl
-XHTML_XSL = $(XSL_DIR)/html-stylesheet.xsl
-STYLESHEET = $(WWW_DIR)/docstyles.css
-
-TXT_TARGET=$(DIR)/$(OUTNAME).txt
-HTML_TARGET=$(DIR)/$(OUTNAME).html
-PDF_TARGET=$(DIR)/$(OUTNAME).pdf
-FO_TARGET= $(DIR)/$(OUTNAME).fo
-HTML_ARCH_BASENAME = $(OUTNAME)-html
-HTML_ARCH_TARGET= $(DIR)/$(HTML_ARCH_BASENAME).zip
-
-HTML_CHUNK_ARCH_BASENAME = $(OUTNAME)-html-chunk
-HTML_CHUNK_ARCH_TARGET = $(DIR)/$(HTML_CHUNK_ARCH_BASENAME).zip
-
-HTML_CHUNK_DIR = $(DIR)/html-chunk
-HTML_CHUNK_TARGET = $(HTML_CHUNK_DIR)/index.html
-XML_SOURCE = $(NAME).xml
-
@@ -1,27 +0,0 @@
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
-
- <xsl:param name="html.stylesheet">docstyles.css</xsl:param>
- <xsl:param name="html.title">TITLE</xsl:param>
- <xsl:param name="toc.section.depth">3</xsl:param>
- <xsl:param name="annotate.toc">0</xsl:param>
-
- <xsl:template match="sect1" mode="toc">
- <xsl:param name="toc-context" select="."/>
- <xsl:call-template name="subtoc">
- <xsl:with-param name="toc-context" select="$toc-context"/>
- <xsl:with-param name="nodes"
- select="sect2|refentry|bridgehead[$bridgehead.in.toc != 0]"/>
- </xsl:call-template>
- </xsl:template>
-
- <xsl:template match="sect2" mode="toc">
- <xsl:param name="toc-context" select="."/>
-
- <xsl:call-template name="subtoc">
- <xsl:with-param name="toc-context" select="$toc-context"/>
- <xsl:with-param name="nodes"
- select="sect3|refentry|bridgehead[$bridgehead.in.toc != 0]"/>
- </xsl:call-template>
- </xsl:template>
-
-</xsl:stylesheet>
View
@@ -1,15 +0,0 @@
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
-
- <xsl:import href="xsl/xhtml/chunk.xsl"/>
- <xsl:include href="base-html-stylesheet.xsl"/>
-
- <!-- PARAMETER REFERENCE: -->
- <!-- http://docbook.sourceforge.net/release/xsl/current/doc/html/ -->
-
- <!-- Uncomment this to enable auto-numbering of sections -->
- <!-- xsl:param name="section.autolabel" select="1" / -->
- <!-- <xsl:param name="use.id.as.filename">1</xsl:param> -->
- <xsl:param name="chunk.first.sections">1</xsl:param>
- <xsl:param name="chunk.quietly" select="1"></xsl:param>
-
-</xsl:stylesheet>
View

Large diffs are not rendered by default.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 3540c53

Please sign in to comment.