summaryrefslogtreecommitdiff
path: root/eps.mk
diff options
context:
space:
mode:
Diffstat (limited to 'eps.mk')
-rw-r--r--eps.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/eps.mk b/eps.mk
index 8451f52..496f333 100644
--- a/eps.mk
+++ b/eps.mk
@@ -3,13 +3,15 @@
CLEAN_TARGETS += clean_eps_pdf_targets
REAL_CLEAN_TARGETS += real_clean_eps_pdf_targets
+destination_dirs += $(pics_destdir)
+
eps_sources = $(wildcard *.eps)
eps_pdf_targets = $(eps_sources:%.eps=$(pics_destdir)/%.pdf)
-copy_pdf_compatible_files: dest_dir_eps_pdf $(eps_pdf_targets)
+copy_pdf_compatible_files: $(eps_pdf_targets)
-$(eps_pdf_targets): $(pics_destdir)/%.pdf : %.eps
+$(eps_pdf_targets): $(pics_destdir)/%.pdf : %.eps | $(pics_destdir)
epstopdf --autorotate=All --outfile='$@' '$<'
clean_eps_pdf_targets:
@@ -19,7 +21,4 @@ ifneq ($(strip $(eps_pdf_targets)),)
rm -f $(eps_pdf_targets)
endif
-dest_dir_eps_pdf:
- $(INSTALL) -d -m 0755 $(pics_destdir)
-
.INTERMEDIATE: