summaryrefslogtreecommitdiff
path: root/pic_svg.mk
diff options
context:
space:
mode:
Diffstat (limited to 'pic_svg.mk')
-rw-r--r--pic_svg.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/pic_svg.mk b/pic_svg.mk
index cfb5053..f14d37d 100644
--- a/pic_svg.mk
+++ b/pic_svg.mk
@@ -3,12 +3,14 @@
CLEAN_TARGETS += clean_pdf_svg_targets
REAL_CLEAN_TARGETS += real_clean_pdf_svg_targets
+destination_dirs += $(pics_destdir)
+
svg_sources = $(wildcard *.svg)
pdf_svg = $(svg_sources:%.svg=$(pics_destdir)/%.pdf)
-copy_pdf_compatible_files: dest_dir_svg $(pdf_svg)
+copy_pdf_compatible_files: $(pdf_svg)
-$(pdf_svg): $(pics_destdir)/%.pdf : %.svg
+$(pdf_svg): $(pics_destdir)/%.pdf : %.svg | $(pics_destdir)
inkscape --export-pdf=$@ $<
clean_pdf_svg_targets:
@@ -18,6 +20,4 @@ ifneq ($(strip $(pdf_svg)),)
rm -f $(pdf_svg)
endif
-dest_dir_svg:
- $(INSTALL) -d -m 0755 $(pics_destdir)