From 5d2ca6f0b46549a4a0fd15d3f872bb762284330e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 27 May 2020 11:06:10 +0300 Subject: [PATCH] fix deps --- II/Referatas/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/II/Referatas/Makefile b/II/Referatas/Makefile index ef3c0db..e5303dc 100644 --- a/II/Referatas/Makefile +++ b/II/Referatas/Makefile @@ -22,17 +22,17 @@ crossing-$(1)-$(2)-%.pdf: layer2img.py db/.faux_$(1)-$(2)-% endef define gpkg2pdf -$(2).pdf: $(1).gpkg ./layer2img.py $(4) - ./layer2img.py $(3) --infile=$(1).gpkg --outfile $(2).pdf +$(1): $(2) ./layer2img.py + ./layer2img.py $(3) --infile=$$< --outfile $(1).pdf endef $(eval $(call algo2img,sinewave,douglas,52x12)) $(eval $(call algo2img,sinewave,visvalingam,52x12)) $(eval $(call algo2img,zeimena,douglas,52x74)) $(eval $(call algo2img,zeimena,visvalingam,52x74)) -$(eval $(call gpkg2pdf,sinewave,sinewave,--size=52x15)) -$(eval $(call gpkg2pdf,zeimena,zeimena,--size=135x191 --overlay-infile rectangle.gpkg,rectangle.gpkg)) -$(eval $(call gpkg2pdf,zeimena,crossing,--size=105x74 --clip $(CROSSING))) +$(eval $(call gpkg2pdf,sinewave.pdf,sinewave.gpkg,,--size=52x15)) +$(eval $(call gpkg2pdf,zeimena.pdf,zeimena.gpkg rectangle.gpkg,--size=135x191 --overlay-infile rectangle.gpkg)) +$(eval $(call gpkg2pdf,crossing.pdf,zeimena.gpkg,--size=105x74 --clip $(CROSSING))) sinewave.gpkg: fig2layer.py ./fig2layer.py -o $@ sine