[Pkg-jed-commit] r1032 - www

Rafael Laboissiere rafael at alioth.debian.org
Wed Jan 9 19:53:56 UTC 2008


Author: rafael
Date: 2008-01-09 19:53:56 +0000 (Wed, 09 Jan 2008)
New Revision: 1032

Modified:
   www/DJG-Guidelines.txt
   www/Makefile
Log:
* PDF version of the Guidelines is now generated using rst2latex + pdflatex
  and installed at the web site
* Added link to the PDF version at document footer

Modified: www/DJG-Guidelines.txt
===================================================================
--- www/DJG-Guidelines.txt	2008-01-09 18:34:05 UTC (rev 1031)
+++ www/DJG-Guidelines.txt	2008-01-09 19:53:56 UTC (rev 1032)
@@ -187,6 +187,8 @@
 
 (`view history`_)
 (`view source`_)
+(`PDF version`_)
 
 .. _view history: http://svn.debian.org/wsvn/pkg-jed/www/DJG-Guidelines.txt?op=log&rev=0&sc=0&isdir=0
 .. _view source: http://svn.debian.org/wsvn/pkg-jed/www/DJG-Guidelines.txt?op=file&rev=0&sc=0
+.. _PDF version: DJG-Guidelines.pdf

Modified: www/Makefile
===================================================================
--- www/Makefile	2008-01-09 18:34:05 UTC (rev 1031)
+++ www/Makefile	2008-01-09 19:53:56 UTC (rev 1032)
@@ -8,7 +8,7 @@
 HOST = alioth.debian.org
 DIR = /org/alioth.debian.org/chroot/home/groups/pkg-jed/htdocs/
 INSTALLFILES = index.html DJG-Guidelines.txt DJG-Guidelines.html \
-	earth.png djg.css guidelines.css Makefile
+	DJG-Guidelines.pdf earth.png djg.css guidelines.css Makefile
 
 install: $(INSTALLFILES)
 	svn ci
@@ -22,7 +22,13 @@
 	rst2html --no-toc-backlinks --stylesheet=guidelines.css \
 		--link-stylesheet $< $@
 
+%.pdf: %.tex
+	pdflatex $<
+
+%.tex: %.txt
+	rst2latex $< $@
+
 clean:
-	rm -f DJG-Guidelines.html
+	rm -f DJG-Guidelines.html *.aux *.log *.out *.pdf *.tex
 
 .PHONY: install clean




More information about the Pkg-jed-commit mailing list