summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b5f141e..7aef63d 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,8 @@
all: out/html/devel/index.html out/text/develbook.txt \
out/html/install/index.html out/text/installbook.txt \
out/html/porting/index.html out/text/portguide.txt \
- out/html/admin/index.html out/text/adminbook.txt
+ out/html/admin/index.html out/text/adminbook.txt \
+ out/html/hcl/index.html out/text/hclbook.txt
out/text/adminbook.txt: src/admin/*.xml
@mkdir -p out/text
@@ -27,6 +28,17 @@ out/html/devel/index.html: src/devel/*.xml src/pretty.css
@xmlto html -m master.xsl -o out/html/devel src/devel/develbook.xml
@cp src/pretty.css out/html/devel/
+out/text/hclbook.txt: src/hcl/*.xml
+ @mkdir -p out/text
+ @printf 'Hardware Compatibility List: Generating text...\n'
+ @xmlto txt -o out/text src/hcl/hclbook.xml
+
+out/html/hcl/index.html: src/hcl/*.xml
+ @mkdir -p out/html/hcl
+ @printf 'Hardware Compatibility List: Generating HTML...\n'
+ @xmlto html -m master.xsl -o out/html/hcl src/hcl/hclbook.xml
+ @cp src/pretty.css out/html/hcl/
+
out/text/installbook.txt: src/install/*.xml
@mkdir -p out/text
@printf 'Installation Handbook: Generating text...\n'