From 84a89182e6940410b2c7b8caebbf7645049a79ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Mon, 29 Mar 2021 06:48:08 +0300 Subject: [PATCH] nicer Makefile --- IV/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/IV/Makefile b/IV/Makefile index ea2b8bb..b200505 100644 --- a/IV/Makefile +++ b/IV/Makefile @@ -1,6 +1,8 @@ SOURCE ?= lithuania-latest.osm.pbf WHERE ?= name='Visinčia' OR name='Šalčia' OR name='Nemunas' +SLIDES = slides-2021-03-29.pdf slides-2021-03-29.html + SLIDY_PATH= /usr/share/xml/docbook/stylesheet/docbook-xsl/slides/slidy ifneq ($(wildcard $(SLIDY_PATH)/.*),) SLIDY_ARGS = -V slidy-url=$(SLIDY_PATH) @@ -17,7 +19,7 @@ test-integration: .faux_filter-rivers .PHONY: clean clean: -./db stop - -rm .faux_filter-rivers .faux_import-osm .faux.db + -rm .faux_filter-rivers .faux_import-osm .faux.db $(SLIDES) .PHONY: clean-tables clean-tables: @@ -26,7 +28,7 @@ clean-tables: done .PHONY: slides -slides: slides-2021-03-29.pdf slides-2021-03-29.html +slides: $(SLIDES) slides-2021-03-29.pdf: slides-2021-03-29.txt pandoc -t beamer -i $< -o $@