diff options
author | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-03-13 09:20:45 +0000 |
---|---|---|
committer | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-03-13 09:20:45 +0000 |
commit | 2e524f93fc03353e6fb05333d8041505948959eb (patch) | |
tree | 0e2f8a60e47c994d49152b300f0d698a7eb29c4f /stylesheets/lfs-xsl/docbook-xsl-1.78.1/Makefile | |
parent | cc98817b6165e5307c1fc38328cdc2a1cc2de257 (diff) |
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
Diffstat (limited to 'stylesheets/lfs-xsl/docbook-xsl-1.78.1/Makefile')
-rw-r--r-- | stylesheets/lfs-xsl/docbook-xsl-1.78.1/Makefile | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/Makefile b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/Makefile deleted file mode 100644 index a87d60b65..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/Makefile +++ /dev/null @@ -1,89 +0,0 @@ -# $Id: Makefile.tests 8481 2009-07-13 20:18:41Z abdelazer $ -# -# This makefile does a "smoketest" of stylesheets for various -# output formats in the DocBook XSL Stylesheets release package. -# It doesn't actually check the output -- it's just useful for -# confirming whether each XSLT transformation actually executes -# successfully without any errors. -# -# To use it, run "make check" or just "make" - -XSLTPROC=xsltproc -XSLTPROC_FLAGS= - -TESTFILE=tests/refentry.007.xml -TESTFILE_NS=tests/refentry.007.ns.xml - -NORMAL_STYLES=fo/docbook.xsl html/docbook.xsl xhtml/docbook.xsl -NORMAL_PROFILE_STYLES=fo/profile-docbook.xsl html/profile-docbook.xsl xhtml/profile-docbook.xsl -CHUNK_STYLES=html/chunk.xsl html/onechunk.xsl xhtml/chunk.xsl xhtml/onechunk.xsl -HELP_STYLES=htmlhelp/htmlhelp.xsl javahelp/javahelp.xsl eclipse/eclipse.xsl -MULTIFILE_STYLES=$(CHUNK_STYLES) $(HELP_STYLES) -CHUNK_PROFILE_STYLES=html/profile-chunk.xsl html/profile-onechunk.xsl xhtml/profile-chunk.xsl xhtml/profile-onechunk.xsl -HELP_PROFILE_STYLES=htmlhelp/profile-htmlhelp.xsl eclipse/profile-eclipse.xsl javahelp/profile-javahelp.xsl -MULTIFILE_PROFILE_STYLES=$(CHUNK_PROFILE_STYLES) $(HELP_PROFILE_STYLES) - -MAN_STYLE=manpages/docbook.xsl -MAN_PROFILE_STYLE=manpages/profile-docbook.xsl - -TWO_PROFILE_STYLE=profiling/profile.xsl - -ROUNDTRIP_STYLES=roundtrip/dbk2ooo.xsl roundtrip/dbk2pages.xsl roundtrip/dbk2wordml.xsl -SLIDES_STYLES=slides/html/default.xsl slides/xhtml/default.xsl slides/fo/plain.xsl -WEBSITE_STYLES=website/website.xsl -WEBSITE_CHUNK_STYLES=website/chunk-website.xsl - -# chunked output gets written to TMP_OUTPUT_DIR -TMP_OUTPUT_DIR=/tmp/smoketest-output/ -# if you don't want TMP_OUTPUT_DIR and its contents deleted, unset -# SMOKETEST_CLEAN_TARGET; e.g. "make check SMOKETEST_CLEAN_TARGET=''" -SMOKETEST_CLEAN_TARGET=smoketest-clean - -check: smoketest-make-tmp-dir smoketest-normal smoketest-normal-profile smoketest-chunk smoketest-chunk-profile smoketest-man smoketest-man-profile smoketest-two-profile $(SMOKETEST_CLEAN_TARGET) - -smoketest-make-tmp-dir: - $(RM) -r $(TMP_OUTPUT_DIR) - mkdir '$(TMP_OUTPUT_DIR)' - -smoketest-normal: - for stylesheet in $(NORMAL_STYLES); do \ - echo "$(XSLT) $(TESTFILE) $$stylesheet > /dev/null"; \ - $(XSLT) $(TESTFILE) $$stylesheet > /dev/null; \ - echo "$(XSLT) $(TESTFILE_NS) $$stylesheet > /dev/null"; \ - $(XSLT) $(TESTFILE_NS) $$stylesheet > /dev/null; \ - done - -smoketest-normal-profile: - for stylesheet in $(NORMAL_PROFILE_STYLES); do \ - echo "$(XSLT) $(TESTFILE) $$stylesheet > /dev/null"; \ - $(XSLT) $(TESTFILE) $$stylesheet > /dev/null; \ - echo "$(XSLT) $(TESTFILE_NS) $$stylesheet > /dev/null"; \ - $(XSLT) $(TESTFILE_NS) $$stylesheet > /dev/null; \ - done - -smoketest-chunk: - for stylesheet in $(MULTIFILE_STYLES) ; do \ - $(XSLT) $(TESTFILE) $$stylesheet manifest.in.base.dir=1 base.dir=$(TMP_OUTPUT_DIR) ; \ - $(XSLT) $(TESTFILE_NS) $$stylesheet manifest.in.base.dir=1 base.dir=$(TMP_OUTPUT_DIR) ; \ - done; - -smoketest-chunk-profile: - for stylesheet in $(MULTIFILE_PROFILE_STYLES) ; do \ - $(XSLT) $(TESTFILE) $$stylesheet manifest.in.base.dir=1 base.dir=$(TMP_OUTPUT_DIR) ; \ - $(XSLT) $(TESTFILE_NS) $$stylesheet manifest.in.base.dir=1 base.dir=$(TMP_OUTPUT_DIR) ; \ - done; - -smoketest-man: - $(XSLT) $(TESTFILE) $(MAN_STYLE) man.output.in.separate.dir=1 man.output.base.dir=$(TMP_OUTPUT_DIR) ; \ - $(XSLT) $(TESTFILE_NS) $(MAN_STYLE) man.output.in.separate.dir=1 man.output.base.dir=$(TMP_OUTPUT_DIR) ; - -smoketest-man-profile: - $(XSLT) $(TESTFILE) $(MAN_PROFILE_STYLE) man.output.in.separate.dir=1 man.output.base.dir=$(TMP_OUTPUT_DIR) ; \ - $(XSLT) $(TESTFILE_NS) $(MAN_PROFILE_STYLE) man.output.in.separate.dir=1 man.output.base.dir=$(TMP_OUTPUT_DIR) ; - -smoketest-two-profile: - $(XSLT) $(TESTFILE_NS) $(TWO_PROFILE_STYLE) > /dev/null ; - -smoketest-clean: - $(RM) -r $(TMP_OUTPUT_DIR) - |