Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
GUAC-1145: Build HTML only. Clean up hierarchy.
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-jumper committed Mar 24, 2015
1 parent a6378a7 commit 57564d6
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 31 deletions.
7 changes: 2 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
src/html
src/docbook-xsl
*.pdf
*.fo
/html
/docbook-xsl
*~
www/
18 changes: 18 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

FILES=$(shell find -name "*.xml")

.PHONY: all clean link-docbook-xsl

all: html/index.html

clean:
$(RM) docbook-xsl
$(RM) -R html/

link-docbook-xsl:
$(RM) docbook-xsl
ln -s $(DOCBOOK_PATH) docbook-xsl

html/index.html: $(FILES) src/site.xslt link-docbook-xsl
cd src; xsltproc -o ../html/ --xinclude site.xslt gug.xml

25 changes: 0 additions & 25 deletions src/Makefile

This file was deleted.

2 changes: 1 addition & 1 deletion src/site.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">

<xsl:import href="docbook-xsl/xhtml/chunk.xsl"/>
<xsl:import href="../docbook-xsl/xhtml/chunk.xsl"/>

<!-- Name chunk files after root element IDs -->
<xsl:param name="use.id.as.filename">1</xsl:param>
Expand Down

0 comments on commit 57564d6

Please sign in to comment.