changeset 82745:2c21b6f42c61

Move refcard rules to new file etc/refcards/Makefile.
author Glenn Morris <rgm@gnu.org>
date Wed, 22 Aug 2007 08:15:42 +0000
parents e606fe1f59da
children fca0f0f8d997
files etc/Makefile
diffstat 1 files changed, 3 insertions(+), 79 deletions(-) [+]
line wrap: on
line diff
--- a/etc/Makefile	Wed Aug 22 08:11:44 2007 +0000
+++ b/etc/Makefile	Wed Aug 22 08:15:42 2007 +0000
@@ -21,90 +21,14 @@
 ## Boston, MA 02110-1301, USA.
 
 
-## Top-level targets.
-
-## PS files included with Emacs.
-all: refcards dired-refcards misc-refcards
-
-
-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
-
-dired-refcards: dired-ref.ps cs-dired-ref.ps fr-drdref.ps sk-dired-ref.ps
-
-## No PS files: vipcard.tex viperCard.tex survival.tex sk-survival.tex
-misc-refcards: calccard.ps gnus-booklet.ps gnus-refcard.ps orgcard.ps
-
-## Following PS files are not included with Emacs.
-survival-cards: survival.ps cs-survival.ps sk-survival.ps
-
-viper-cards: vipcard.ps viperCard.ps
+.PHONY: mostlyclean clean distclean maintainer-clean unlock relock
 
 
-## dvi files.
-
-## FIXME the sk-*.tex files say to use csplain, but were not
-## traditionally in this rule. Fix the doc or the rule.
-cs-refcard.dvi cs-dired-ref.dvi cs-survival.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 gnus-refcard.dvi: %.dvi: %.tex
-	latex $<
-
-gnus-booklet.dvi: gnus-refcard.tex
-	latex '\def\booklettrue{}\def\letterpapertrue{}\input{gnus-refcard}'
-	mv gnus-refcard.dvi $@
-
-## Everything not explicitly listed above.
-%.dvi: %.tex
-	tex $<
-
-
-## PostScript files.
-
-## Note that some of the tex files (refcard, de-refcard, fr-refcard,
-## pt-br-refcard) have settings for letter or a4 paper. Following are
-## the default paper sizes (letter for English, A4 for translations).
-## FIXME orgcard.ps does not fit on letter (see orgcard.tex).
-
-## A4, landscape.
-de-refcard.ps fr-refcard.ps pt-br-refcard.ps orgcard.ps: %.ps: %.dvi
-	dvips -t a4 -t landscape $< -o $@
-
-## A4, portrait.
-cs-dired-ref.ps cs-refcard.ps cs-survival.ps fr-drdref.ps \
-pl-refcard.ps ru-refcard.ps \
-sk-dired-ref.ps sk-refcard.ps sk-survival.ps: %.ps: %.dvi
-	dvips -t a4 $< -o $@
-
-## letter, landscape.
-calccard.ps refcard.ps: %.ps: %.dvi
-	dvips -t letter -t landscape $< -o $@
-
-## letter, portrait.
-dired-ref.ps gnus-booklet.ps gnus-refcard.ps survival.ps vipcard.ps \
-viperCard.ps: %.ps: %.dvi
-	dvips -t letter $< -o $@
-
-
-.PHONY: mostlyclean clean distclean maintainer-clean unlock relock
-
-mostlyclean:
-	-rm -f *.dvi *.log
-
-## Note does not delete generated ps files.
-clean distclean maintainer-clean: mostlyclean
+mostlyclean clean distclean maintainer-clean:
 	-rm -f DOC*
 
-
 SOURCES = [0-9A-QS-Z]* README *.[ch16] emacs.* ms-* \
-	spook-lines termcap.* *.tex
+	spook-lines termcap.*
 
 unlock:
 	chmod u+w $(SOURCES)