[Pkg-octave-commit] r1163 - www
Rafael Laboissiere
rafael at alioth.debian.org
Fri Jan 11 10:45:05 UTC 2008
Author: rafael
Date: 2008-01-11 10:45:04 +0000 (Fri, 11 Jan 2008)
New Revision: 1163
Modified:
www/
www/DOG-Guidelines.txt
www/Makefile
Log:
* Generate PDF version of Guidelines
* Added link to PDF version in the footer of the document
Property changes on: www
___________________________________________________________________
Name: svn:ignore
- index.html
DOG-Guidelines.html
tmp.tgz
+ *.html
*.pdf
Modified: www/DOG-Guidelines.txt
===================================================================
--- www/DOG-Guidelines.txt 2008-01-11 10:38:25 UTC (rev 1162)
+++ www/DOG-Guidelines.txt 2008-01-11 10:45:04 UTC (rev 1163)
@@ -284,10 +284,11 @@
Debian Octave Group <pkg-octave-devel at lists.alioth.debian.org>
| $Id$
-| `(view source)`_ `(view history)`_
+| `(view source)`_ `(view history)`_ `(PDF version)`_
.. _(view source): DOG-Guidelines.txt
.. _(view history): http://svn.debian.org/wsvn/pkg-octave/www/DOG-Guidelines.txt?op=log&rev=0&sc=0&isdir=0
+.. _(PDF version): DOG-Guidelines.pdf
.. _svn-import-pkg: http://svn.debian.org/wsvn/pkg-octave/utils/svn-import-pkg?op=file&rev=0&sc=0
.. Local variables:
Modified: www/Makefile
===================================================================
--- www/Makefile 2008-01-11 10:38:25 UTC (rev 1162)
+++ www/Makefile 2008-01-11 10:45:04 UTC (rev 1163)
@@ -9,7 +9,7 @@
ICONS = $(shell ls pics/*.png)
CSS = dog.css guidelines.css common.css
INSTALLFILES = index.html DOG-Guidelines.html DOG-Guidelines.txt \
- $(ICONS) $(CSS)
+ DOG-Guidelines.pdf $(ICONS) $(CSS)
install: svn-ci $(INSTALLFILES)
@echo -n "Installing the web site... "
@@ -23,12 +23,14 @@
%.html: %.txt guidelines.css
rst2html --no-toc-backlinks --stylesheet=guidelines.css \
--link-stylesheet $< $@
+%.pdf: %.txt
+ py.rest --topdf $<
svn-ci:
svn ci
svn up
clean:
- rm -f index.html DOG-Guidelines.html $(TARBALL)
+ rm -f index.html DOG-Guidelines.html *.pdf $(TARBALL)
.PHONY: install svn-ci clean
More information about the Pkg-octave-commit
mailing list