From 21c9a6e1aaa2af6997172f5d110a0e3cc66087d9 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Fri, 5 Aug 2016 21:16:56 -0300 Subject: [PATCH] eeshow/Makefile (test, testref): must use -- fig for FIG output Anything without -- goes to the GUI (except for development options like -C and -H). --- eeshow/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eeshow/Makefile b/eeshow/Makefile index 9ff2976..fb059cc 100644 --- a/eeshow/Makefile +++ b/eeshow/Makefile @@ -41,14 +41,15 @@ sch: eeschema test.sch test: $(NAME) - ./$(NAME) test.lib test.sch >out.fig + ./$(NAME) test.lib test.sch -- fig >out.fig fig2dev -L png -m 2 out.fig _out.png [ ! -r ref.png ] || \ compare -metric AE ref.png _out.png _diff.png || \ qiv -t -R -D _diff.png ref.png _out.png testref: $(NAME) - ./$(NAME) test.lib test.sch | fig2dev -L png -m 2 >ref.png + ./$(NAME) test.lib test.sch -- fig | \ + fig2dev -L png -m 2 >ref.png png: $(NAME) ./$(NAME) test.lib test.sch -- png -o _out.png -s 2