start viewer after individual phony tickets.
authorMichael Adam <obnox@samba.org>
Sat, 16 May 2015 23:26:42 +0000 (01:26 +0200)
committerMichael Adam <obnox@samba.org>
Sat, 16 May 2015 23:26:42 +0000 (01:26 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Makefile

index f054ed6b012e3c46f1a6952feb91522e3280aa91..ecb64f025747a0f1b708d9bfb72e1e296418f7d3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -55,6 +55,7 @@ all: pr
 pr: $(TARGET_PR)
 
 $(TARGET_PR): $(TARGET_PR).pdf
+       if [ "$(SHOW)" = "yes" ]; then $(VIEWER) $@.pdf ; fi &
 
 $(TARGET_PR).pdf: $(CMN_DEPS) pr.pdf
        cp pr.pdf $@
@@ -72,6 +73,7 @@ pr.wiki: $(CMN_DEPS_WIKI) pr.class.wiki
 ho: $(TARGET_HO)
 
 $(TARGET_HO): $(TARGET_HO).pdf
+       if [ "$(SHOW)" = "yes" ]; then $(VIEWER) $@.pdf ; fi &
 
 $(TARGET_HO).pdf: $(CMN_DEPS) ho.pdf
        cp ho.pdf $@
@@ -89,6 +91,7 @@ ho.wiki: $(CMN_DEPS_WIKI) ho.class.wiki
 ho2: $(TARGET_HO2)
 
 $(TARGET_HO2): $(TARGET_HO2).pdf
+       if [ "$(SHOW)" = "yes" ]; then $(VIEWER) $@.pdf ; fi &
 
 $(TARGET_HO2).pdf: $(CMN_DEPS) ho2.pdf
        cp ho2.pdf $@
@@ -157,7 +160,7 @@ content.tex: content.wiki
 .tex.pdf:
        pdflatex $<
        pdflatex $<
-       if [ "$(SHOW)" = "yes" ]; then $(VIEWER) $@ ; fi &
+       #if [ "$(SHOW)" = "yes" ]; then $(VIEWER) $@ ; fi &
 
 .dia.png:
        @dia -e $@ $<