diff options
author | Simon Michael <simon@joyful.com> | 2012-01-22 16:25:33 -0800 |
---|---|---|
committer | Simon Michael <simon@joyful.com> | 2012-01-22 16:25:33 -0800 |
commit | f8d4c7b6b5f0e035065e94348e479b0ebf3c1756 (patch) | |
tree | 6d9c2417567b6cd9546caacc51208d93001ae591 | |
parent | d2915c6625d6d21d7d583797da8eea77ee608e3a (diff) | |
download | fork-ledger-f8d4c7b6b5f0e035065e94348e479b0ebf3c1756.tar.gz fork-ledger-f8d4c7b6b5f0e035065e94348e479b0ebf3c1756.tar.bz2 fork-ledger-f8d4c7b6b5f0e035065e94348e479b0ebf3c1756.zip |
makefile to build website docs
-rw-r--r-- | doc/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile new file mode 100644 index 00000000..64a271fa --- /dev/null +++ b/doc/Makefile @@ -0,0 +1,17 @@ +# quick doc-building makefile used by website +# requires: man2html, texinfo + +docs: ledger.1.html ledger.html ledger.pdf ledger3.html ledger3.pdf + +%.1.html: %.1 + -man2html $< | tail -n+3 >$@ + +%.html: %.texi + -makeinfo --force --html --no-split -o $@ $< + +%.pdf: %.texi + -texi2pdf -b -q $< + rm -f $*.aux $*.cp $*.fn $*.ky $*.log $*.pg $*.toc $*.tp $*.vr + +clean: + rm -rf ledger.1.html ledger.html ledger3.html ledger.pdf ledger3.pdf |