From 2e524f93fc03353e6fb05333d8041505948959eb Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Fri, 13 Mar 2020 09:20:45 +0000 Subject: Since LFS started using docbook-1.78.1, there is a lot of unused data in the stylesheet directory. Basically, a whole docbook-stylesheet is there, while we need only fo and xhtml (+ some common dirs). Each time we checkout the repo, we have to download this whole thing, which is by far the biggest part of the repo (~33 M). By removing unused cruft, this could be down to ~12 M. Of course, it would be even better to remove completely the stylesheets and use host ones (repo size down to 2M). but let's do this first, it is easier :) git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11778 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- .../docbook-xsl-1.78.1/tools/make/Makefile.combine | 182 --------------------- 1 file changed, 182 deletions(-) delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/tools/make/Makefile.combine (limited to 'stylesheets/lfs-xsl/docbook-xsl-1.78.1/tools/make/Makefile.combine') diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/tools/make/Makefile.combine b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/tools/make/Makefile.combine deleted file mode 100644 index 6a1dcf760..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/tools/make/Makefile.combine +++ /dev/null @@ -1,182 +0,0 @@ -# $Source$ -# $Author: xmldoc $ -# $Date: 2007-03-05 06:28:18 +0000 (Mon, 05 Mar 2007) $ -# $Revision: 6666 $ -# vim: number -# -# ----------------------------------------------------------------- -# ** Makefile.combine -- combine source files ** -# ----------------------------------------------------------------- -# -# This file is part of the DocBook Project XSL Stylesheet -# distribution. -# -# See http://docbook.sourceforge.net/release/xsl/current/ -# for copyright and other information. -# -# This makefile creates "wrapper" files that combine sets of -# individual DocBook source files. The purpose of combining the -# files is to speed up processing time. By default it puts 20 -# files into each wrapper. Use CHUNKSIZE to configure the number -# of files per wrapper. -# -# Currently, this makefile has only a "man" target and is mainly -# intended to speed up processing of large numbers of individual -# refentry instances. - -# What file extension do you use for DocBook source files? -DOCBOOK_FILE_EXTENSION = .xml -SOURCE_FILES_DBK = $(wildcard *$(DOCBOOK_FILE_EXTENSION)) - -MAKEFILE_DOCBOOK = Makefile.DocBook - -XSLTPROC=xsltproc -XSLTPROC_FLAGS= - -SED=sed -SED_FLAGS=-i - -CHUNKSIZE ?= 20 - -WRAPPER_ELEMENT = reference -WRAPPER_TITLE=Combined contents - -COMBINE_XSL = \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - <$(WRAPPER_ELEMENT)> \ - $(WRAPPER_TITLE) \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - - -all: man - -man: build/man - -build/Makefile: - if [ ! -d build ]; then mkdir build; fi - cp $(MAKEFILE_DOCBOOK) $@ - -combine.xsl: Makefile - @echo '$(COMBINE_XSL)' > $@ - $(SED) $(SED_FLAGS) "s/\^\^/'/g" $@ - -build/1.xml: combine.xsl - $(XSLTPROC) $(XSLTPROC_FLAGS) \ - --stringparam files "$(SOURCE_FILES_DBK)" \ - --stringparam chunk.size $(CHUNKSIZE) \ - $< $< - -build/man: build/Makefile build/1.xml - time $(MAKE) -C build man \ - MAN_PARAMS="--stringparam man.output.quietly 1 \ - --stringparam refentry.meta.get.quietly 1 \ - --stringparam man.charmap.enabled 0" - -debug: - -clean: - $(RM) -r build -- cgit v1.2.3-54-g00ecf