diff options
Diffstat (limited to 'eps.mk')
-rw-r--r-- | eps.mk | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -0,0 +1,23 @@ +# -*- make -*- + +CLEAN_TARGETS += +REAL_CLEAN_TARGETS += real_clean_eps_pdf_targets + +eps_sources = $(wildcard *.eps) +eps_pdf_targets = $(eps_sources:%.eps=$(pics_destdir)/%.pdf) + + +copy_eps_pdf_targets: dest_dir_eps_pdf $(eps_pdf_targets) + +$(eps_pdf_targets): $(pics_destdir)/%.pdf : %.eps + epstopdf --autorotate=All --outfile=$@ $< + +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: |