blob: 09ff77c606ea62d456eaa5d4bb50e8c408ec87a5 (
plain) (
tree)
|
|
.POSIX:
all: out/html/devel/index.html out/text/develguide.txt \
out/html/install/index.html out/text/installguide.txt
out/text/develguide.txt: src/devel/*.xml
@mkdir -p out/text
@printf 'Developer Guide: Generating text...\n'
@xmlto txt -o out/text src/devel/develguide.xml
out/html/devel/index.html: src/devel/*.xml src/pretty.css
@mkdir -p out/html/devel
@printf 'Developer Guide: Generating HTML...\n'
@xmlto html -m master.xsl -o out/html/devel src/devel/develguide.xml
@cp src/pretty.css out/html/devel/
out/text/installguide.txt: src/install/*.xml
@mkdir -p out/text
@printf 'Install Guide: Generating text...\n'
@xmlto txt -o out/text src/install/installguide.xml
out/html/install/index.html: src/install/*.xml src/pretty.css
@mkdir -p out/html/install
@printf 'Install Guide: Generating HTML...\n'
@xmlto html -m master.xsl -o out/html/install src/install/installguide.xml
@cp src/pretty.css out/html/install/
install:
@mkdir -p "${DESTDIR}"/usr/share/doc/adelie-handbook/
@cp -r out/* "${DESTDIR}"/usr/share/doc/adelie-handbook/
|