summaryrefslogtreecommitdiff
path: root/circuit_eps.mk
blob: 2c54a8a3221594203709c4820595fd1900d8d64a (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

destination_dirs += $(pics_destdir)

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

copy_pdf_compatible_files: $(pdf_curcuit)

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

clean_pdf_curcuit_targets:

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