diff options
author | John Wiegley <johnw@newartisans.com> | 2012-01-26 15:18:04 -0800 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-01-26 15:18:04 -0800 |
commit | 667fdbf053b50be413c614236ffeafb7460e09ff (patch) | |
tree | a815753a34e9951a1e3e68278ee803dcfeb3e857 /doc | |
parent | d2915c6625d6d21d7d583797da8eea77ee608e3a (diff) | |
parent | d14e768c27cfb90eefe04c8f992108304dbd16a8 (diff) | |
download | fork-ledger-667fdbf053b50be413c614236ffeafb7460e09ff.tar.gz fork-ledger-667fdbf053b50be413c614236ffeafb7460e09ff.tar.bz2 fork-ledger-667fdbf053b50be413c614236ffeafb7460e09ff.zip |
Merge pull request #54 from simonmichael/next
quick makefile used for building website
Diffstat (limited to 'doc')
-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 |