changeset 71514:740f82dedf09

Add rules for refcards.
author Reiner Steib <Reiner.Steib@gmx.de>
date Wed, 28 Jun 2006 13:28:51 +0000
parents df2859081c51
children 55031f6edc3e
files etc/ChangeLog etc/Makefile
diffstat 2 files changed, 26 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/ChangeLog	Wed Jun 28 13:26:40 2006 +0000
+++ b/etc/ChangeLog	Wed Jun 28 13:28:51 2006 +0000
@@ -1,5 +1,7 @@
 2006-06-28  Reiner Steib  <Reiner.Steib@gmx.de>
 
+	* Makefile: Add rules for refcards.
+
 	* de-refcard.ps, fr-refcard.ps, pt-br-refcard.ps: Regenerate.
 
 2006-06-24  Nick Roberts  <nickrob@snap.net.nz>
--- a/etc/Makefile	Wed Jun 28 13:26:40 2006 +0000
+++ b/etc/Makefile	Wed Jun 28 13:28:51 2006 +0000
@@ -6,6 +6,30 @@
 
 all:
 
+refcards:	refcard.ps cs-refcard.ps de-refcard.ps fr-refcard.ps \
+		pl-refcard.ps pt-br-refcard.ps ru-refcard.ps sk-refcard.ps
+
+refcard.dvi de-refcard.dvi fr-refcard.dvi pt-br-refcard.dvi sk-refcard.dvi:	%.dvi:	%.tex
+	tex $<
+
+cs-refcard.dvi:	%.dvi:	%.tex
+	csplain $<
+
+pl-refcard.dvi: %.dvi:	%.tex
+	if ! kpsewhich -format=fmt mex > /dev/null; then \
+	  echo "No mex format found."; false; \
+	fi
+	tex $<
+
+ru-refcard.dvi:	%.dvi:	%.tex
+	latex $<
+
+refcard.ps de-refcard.ps fr-refcard.ps pt-br-refcard.ps:	%.ps:	%.dvi
+	dvips -t landscape $<
+
+cs-refcard.ps pl-refcard.ps ru-refcard.ps sk-refcard.ps:	%.ps:	%.dvi
+	dvips $<
+
 mostlyclean:
 	-rm -f core *.dvi *.log