chiark / gitweb /
layout/Makefile: add colouring options to appropriate invocations
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sat, 6 Nov 2010 17:35:51 +0000 (17:35 +0000)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sat, 6 Nov 2010 17:35:51 +0000 (17:35 +0000)
layout/Makefile

index efbe353360181894c03ddc219395ddcc2cfdd1ed..07cc6bcc6363e7f0bd3d9ed45327219b5c63eeb5 100644 (file)
@@ -10,9 +10,10 @@ E_TRACK=     ArsCLMNo
 LAYOUTOPTS_ALL=        -ep=*Cm
 LAYOUTOPTS=    -E=*$(E_TRACK) $(LAYOUTOPTS_ALL)
 LAYOUTOPTS_PHYS= -S1.0 $(LAYOUTOPTS) '-e*A'
-LAYOUTOPTS_PS= -e'[sp]=*rm' -e'p=5C'
+LAYOUTOPTS_PS= -e'[sp]=*rm' -e'p=5C' $(LAYOUTOPTS_COLOUR)
 XLAYOUTOPTS_LAYER= -e'=5AN' -E'*~=5rsm' -e'p~=5r' -e'*~=9C' -e'*=*l' \
                $(LAYOUTOPTS_PS)
+LAYOUTOPTS_COLOUR= -CA=\#f00 -CC=\#dd0 -CrpLD=\#00f -Ci=\#c0c
 
 PLANUI_PSDPI= 72
 PLANUI_WIDTH= 595
@@ -171,7 +172,7 @@ testphys-m%.ps:     testphys.d4 layout
 ours-e%.ps:    ours.d4 layout
                $(LAYOUT) <$< -l$* -E'=*aRsclMno' \
                        -e'=5RN' -E'*~=5rsm' -e'p~=5r' -e'*=*l' \
-                       -e'[sp]=*rm' $o
+                       -e'[sp]=*rm' $(LAYOUTOPTS_COLOUR) $o
 
 ours-p%.ps:    ours.d4 layout
                $(LAYOUT) <$< -l$$(printf %s "$*" | sed -e 's/-/ -P/') \