shithub: sm2

Download patch

ref: ab4bfbbc7ec643fc678b7311b703e513ee07f6de
parent: a0e02ac3596e4e0b0b31acc28bcfc79ed5b1e09b
author: qwx <[email protected]>
date: Wed Oct 28 20:53:22 EDT 2020

ger: sync mkfile with cin's

diff -u a/ger/mkfile b/ger/mkfile
--- a/ger/mkfile
+++ b/ger/mkfile
@@ -2,7 +2,7 @@
 
 all:V: ${ALL:%.t=%.pdf}
 
-%.ms:D: %.t
+%.ms:D:	%.t
 	cat msglobal $prereq | pic | tbl | eqn | 
 		troff -mpictures > $target
 
@@ -10,7 +10,10 @@
 	lp -dstdout < $prereq > $target
 
 %.pdf:D: %.ps
-	ps2pdf $prereq > $target
+	ps2pdf < $prereq > $target
 
+%.gif:D:
+	togif -d 750 $stem[0-9a-z]*.bit > $target
+
 clean:
-	rm -f *.pdf *.ps *.ms
+	rm -f *.pdf *.ps *.gif *.ms
--- a/ger/mkfile
+++ b/ger/mkfile
@@ -2,7 +2,7 @@
 
 all:V: ${ALL:%.t=%.pdf}
 
-%.ms:D: %.t
+%.ms:D:	%.t
 	cat msglobal $prereq | pic | tbl | eqn | 
 		troff -mpictures > $target
 
@@ -10,7 +10,10 @@
 	lp -dstdout < $prereq > $target
 
 %.pdf:D: %.ps
-	ps2pdf $prereq > $target
+	ps2pdf < $prereq > $target
 
+%.gif:D:
+	togif -d 750 $stem[0-9a-z]*.bit > $target
+
 clean:
-	rm -f *.pdf *.ps *.ms
+	rm -f *.pdf *.ps *.gif *.ms