summaryrefslogtreecommitdiff
path: root/circuit_eps.mk
blob: 34b9e1920863e3879f1199172722e7b48187a078 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -*- make -*-

CLEAN_TARGETS      += clean_pdf_curcuit_targets
REAL_CLEAN_TARGETS += real_clean_pdf_curcuit_targets

curcuit_sourses = $(wildcard *.ps)
pdf_curcuit = $(curcuit_sourses:%.ps=$(pics_destdir)/%.pdf)

copy_pdf_compatible_files: dest_dir_curcuit $(pdf_curcuit)

$(pdf_curcuit): $(pics_destdir)/%.pdf : %.ps
	epstopdf --outfile=$@ $<

clean_pdf_curcuit_targets:

real_clean_pdf_curcuit_targets:
ifneq ($(strip $(pdf_curcuit)),)
	rm -f $(pdf_curcuit)
endif

dest_dir_curcuit: 
	$(INSTALL) -d -m 0755 $(pics_destdir)