diff options
author | Roger Leigh <rleigh@debian.org> | 2006-07-14 10:06:46 +0000 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2006-07-14 10:06:46 +0000 |
commit | 9d12a82009f5cf8df99a2d6fbc32a5b4dc5fd84f (patch) | |
tree | a8a2a36c6d9e772d9cd943dc48405e4839bb1b31 | |
parent | 76a889257ca229921c5e0e567a2cf935066d8976 (diff) | |
download | schroot-9d12a82009f5cf8df99a2d6fbc32a5b4dc5fd84f.tar.gz |
* HACKING: Document how to build the printed documentation.
* Makefile.am: Add ps and pdf phony targets.
* doc/Makefile.am: Add rules to make PS and PDF manuals.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | HACKING | 5 | ||||
-rw-r--r-- | Makefile.am | 8 | ||||
-rw-r--r-- | doc/Makefile.am | 19 |
4 files changed, 36 insertions, 4 deletions
@@ -1,5 +1,13 @@ 2006-07-14 Roger Leigh <rleigh@debian.org> + * HACKING: Document how to build the printed documentation. + + * Makefile.am: Add ps and pdf phony targets. + + * doc/Makefile.am: Add rules to make PS and PDF manuals. + +2006-07-14 Roger Leigh <rleigh@debian.org> + * Update all documentation to use the style guidelines. * Makefile.am: Distribute HACKING. @@ -10,7 +10,9 @@ Documentation All the documentation is in UNIX manual page format. GNU roff extensions are permitted, as is use of tbl. Make sure the printed -output is as good as terminal display. +output is as good as terminal display. Run "make ps" or "make pdf" to +build the printed documentation. + The following styles are used: @@ -28,4 +30,3 @@ The following styles are used: Cross references Italics in double quotes \[lq]\fI...\fP\[rq] Verbatim examples Courier \f[CR] Verbatim user input Courier bold \f[CB] - diff --git a/Makefile.am b/Makefile.am index 92d00b0e..b89e2e8a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -36,3 +36,11 @@ EXTRA_DIST = \ scripts/schroot_release.m4.in \ m4 \ HACKING + +ps: + $(MAKE) -C doc schroot.ps + +pdf: + $(MAKE) -C doc schroot.pdf + +.PHONY: ps pdf
\ No newline at end of file diff --git a/doc/Makefile.am b/doc/Makefile.am index 0394703d..10cc336a 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -37,8 +37,23 @@ schroot-stamp: schroot.dox $(top_srcdir)/configure $(DOXYGEN) schroot.dox touch $@ -CLEANFILES = \ - schroot.log +PS_DEPS = \ + $(top_builddir)/schroot/schroot.1 \ + $(top_builddir)/schroot/schroot.conf.5 \ + $(top_builddir)/schroot/schroot-setup.5 \ + $(top_builddir)/dchroot/dchroot.1 \ + $(top_builddir)/dchroot-dsa/dchroot-dsa.1 + +schroot.ps: $(PS_DEPS) + tbl $(PS_DEPS) | groff -T ps -man > $@ + +schroot.pdf: schroot.ps + ps2pdf $< $@ + +CLEANFILES = \ + schroot.log \ + schroot.ps \ + schroot.pdf maintainer-clean-local: $(RM) -r schroot |