diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,7 +1,8 @@ .POSIX: all: out/html/devel/index.html out/text/develguide.txt \ - out/html/install/index.html out/text/installguide.txt + out/html/install/index.html out/text/installguide.txt \ + out/html/porting/index.html out/text/portguide.txt out/text/develguide.txt: src/devel/*.xml @mkdir -p out/text @@ -25,6 +26,17 @@ out/html/install/index.html: src/install/*.xml src/pretty.css @xmlto html -m master.xsl -o out/html/install src/install/installguide.xml @cp src/pretty.css out/html/install/ +out/text/portguide.txt: src/porting/*.xml + @mkdir -p out/text + @printf 'Porting Guide: Generating text...\n' + @xmlto txt -o out/text src/porting/portguide.xml + +out/html/porting/index.html: src/porting/*.xml src/pretty.css + @mkdir -p out/html/porting + @printf 'Porting Guide: Generating HTML...\n' + @xmlto html -m master.xsl -o out/html/porting src/porting/portguide.xml + @cp src/pretty.css out/html/porting/ + install: @mkdir -p "${DESTDIR}"/usr/share/doc/adelie-handbook/ @cp -r out/* "${DESTDIR}"/usr/share/doc/adelie-handbook/ |