>From c545a33aea39aeae40bcff478285f814c32a4456 Mon Sep 17 00:00:00 2001 From: Akira Yokosawa <akiyks@xxxxxxxxx> Date: Sun, 30 Sep 2018 18:36:32 +0900 Subject: [PATCH 5/5] Makefile: Remove rules for QC section This patch effectively reverts commit 11bd603a8aae ("Makefile: Reduce file size of figure generated from ibmqx2-labeled.svg"). The figure belonged to the QC section removed by commit 972946a5298a ("future/QC: Remove quantum-computing section"). Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> --- .gitignore | 1 - Makefile | 21 ++------------------- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 1a40230..34bbb85 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,6 @@ *.dvi *.log *.pdf -*.png *.qqz *.toc *.sav diff --git a/Makefile b/Makefile index 10d120d..c928c80 100644 --- a/Makefile +++ b/Makefile @@ -51,10 +51,7 @@ PDFTARGETS_OF_EPSOTHER := $(filter-out $(PDFTARGETS_OF_EPSORIG),$(PDFTARGETS_OF_ BIBSOURCES := bib/*.bib alphapf.bst SVGSOURCES := $(wildcard */*.svg) -SVG_LARGE_BITMAP := future/ibmqx2-labeled.svg -PDFTARGETS_OF_SVG := $(filter-out $(SVG_LARGE_BITMAP:%.svg=%.pdf),$(SVGSOURCES:%.svg=%.pdf)) -PNGTARGETS_OF_SVG := $(SVG_LARGE_BITMAP:%.svg=%.png) -TARGETS_OF_SVG := $(PDFTARGETS_OF_SVG) $(PNGTARGETS_OF_SVG) +PDFTARGETS_OF_SVG := $(SVGSOURCES:%.svg=%.pdf) DOT := $(shell which dot 2>/dev/null) FIG2EPS := $(shell which fig2eps 2>/dev/null) @@ -129,7 +126,7 @@ $(PDFTARGETS:.pdf=.aux): $(LATEXGENERATED) $(LATEXSOURCES) autodate.tex: perfbook.tex $(LATEXSOURCES) $(BIBSOURCES) $(SVGSOURCES) $(FIGSOURCES) $(DOTSOURCES) $(EPSORIGIN) $(SOURCES_OF_SNIPPET) utilities/fcvextract.pl sh utilities/autodate.sh >autodate.tex -perfbook_flat.tex: autodate.tex $(PDFTARGETS_OF_EPS) $(TARGETS_OF_SVG) $(FCVSNIPPETS) $(FCVSNIPPETS_VIA_LTMS) +perfbook_flat.tex: autodate.tex $(PDFTARGETS_OF_EPS) $(PDFTARGETS_OF_SVG) $(FCVSNIPPETS) $(FCVSNIPPETS_VIA_LTMS) ifndef LATEXPAND $(error --> $@: latexpand not found. Please install it) endif @@ -249,19 +246,6 @@ endif @inkscape --export-pdf=$@ $<i > /dev/null 2>&1 @rm -f $<i -$(PNGTARGETS_OF_SVG): %.png: %.svg - @echo "$< --> $@" -ifndef INKSCAPE - $(error $< --> $@: inkscape not found. Please install it) -endif -ifeq ($(STEELFONTID),0) - @sh $(FIXSVGFONTS) < $< | sed -e 's/Steel City Comic/Test/g' > $<i -else - @sh $(FIXSVGFONTS) < $< > $<i -endif - @inkscape --export-dpi=200 --export-png=$@ $<i > /dev/null 2>&1 - @rm -f $<i - CodeSamples/snippets.d: $(SOURCES_OF_SNIPPET) $(GEN_SNIPPET_D) sh ./utilities/gen_snippet_d.sh @@ -310,7 +294,6 @@ clean: -o -name '*.fcv' -o -name '*.ltms' | xargs rm -f rm -f perfbook_flat.tex perfbook*.out perfbook-*.tex rm -f $(LATEXGENERATED) - rm -f $(SVG_LARGE_BITMAP:%.svg=%.pdf) $(PNGTARGETS_OF_SVG) rm -f extraction rm -f CodeSamples/snippets.mk CodeSamples/snippets.d -- 2.7.4