summaryrefslogtreecommitdiff
path: root/circuit_eps.mk
diff options
context:
space:
mode:
Diffstat (limited to 'circuit_eps.mk')
-rw-r--r--circuit_eps.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/circuit_eps.mk b/circuit_eps.mk
index 34b9e19..2c54a8a 100644
--- a/circuit_eps.mk
+++ b/circuit_eps.mk
@@ -3,12 +3,14 @@
CLEAN_TARGETS += clean_pdf_curcuit_targets
REAL_CLEAN_TARGETS += real_clean_pdf_curcuit_targets
+destination_dirs += $(pics_destdir)
+
curcuit_sourses = $(wildcard *.ps)
pdf_curcuit = $(curcuit_sourses:%.ps=$(pics_destdir)/%.pdf)
-copy_pdf_compatible_files: dest_dir_curcuit $(pdf_curcuit)
+copy_pdf_compatible_files: $(pdf_curcuit)
-$(pdf_curcuit): $(pics_destdir)/%.pdf : %.ps
+$(pdf_curcuit): $(pics_destdir)/%.pdf : %.ps | $(pics_destdir)
epstopdf --outfile=$@ $<
clean_pdf_curcuit_targets:
@@ -18,7 +20,5 @@ ifneq ($(strip $(pdf_curcuit)),)
rm -f $(pdf_curcuit)
endif
-dest_dir_curcuit:
- $(INSTALL) -d -m 0755 $(pics_destdir)