chiark / gitweb /
generate pixmap
authorian <ian>
Fri, 22 Oct 2004 15:37:43 +0000 (15:37 +0000)
committerian <ian>
Fri, 22 Oct 2004 15:37:43 +0000 (15:37 +0000)
layout/.cvsignore
layout/Makefile

index 69953014af956dfe2c8851f57f5dea2182500570..fc66568d71f16d37fd4daa247d5d26b3e18ee5bf 100644 (file)
@@ -1,5 +1,6 @@
 *.d4
 ours-*.ps
+ours-g[0-9]*.ppm
 *.new
 *.segcmapreq
 *.segcmap
index bfe1bd92ea4529ba81ad2ffb06a5ee749f3043b6..9c6306a6ca3f7daeb7c60ac7385b5c33c32a90e3 100644 (file)
@@ -46,6 +46,11 @@ ours-g%.segcmap: ours-g%.segcmapreq segcmapassign
 ours-g%.segcmapreq: ours.d4 layout
                ./layout <$< -l$* $(LAYOUTOPTS_SEGS) -GR $o
 
+ours-g%.ppm:   ours-g%.ps
+               gs -dNOPAUSE -dBATCH -dSAFER -q \
+                       -sDEVICE=ppmraw -r72 -g595x842 \
+                       -sOutputFile=$@.new $< && mv -f $@.new $@
+
 ours-l%.ps:    ours.d4 layout
                ./layout <$< -l$* $(LAYOUTOPTS) $(XLAYOUTOPTS_LAYER) $o