summaryrefslogtreecommitdiff
path: root/eps.mk
blob: a0d24b07ed5c55f7ab2734c057c3c802666b792f (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
25
# -*- make -*-

CLEAN_TARGETS      += clean_eps_pdf_targets
REAL_CLEAN_TARGETS += real_clean_eps_pdf_targets

eps_sources  = $(wildcard *.eps)
eps_pdf_targets  = $(eps_sources:%.eps=$(pics_destdir)/%.pdf)	


copy_pdf_compatible_files: dest_dir_eps_pdf $(eps_pdf_targets)

$(eps_pdf_targets): $(pics_destdir)/%.pdf : %.eps
	epstopdf --autorotate=All --outfile=$@ $< 

clean_eps_pdf_targets:

real_clean_eps_pdf_targets:
ifneq ($(strip $(eps_pdf_targets)),)
	rm -f $(eps_pdf_targets)
endif

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

.INTERMEDIATE: