# -*- make -*- CLEAN_TARGETS += clean_eps_pdf_targets REAL_CLEAN_TARGETS += real_clean_eps_pdf_targets destination_dirs += $(pics_destdir) eps_sources = $(wildcard *.eps) eps_pdf_targets = $(eps_sources:%.eps=$(pics_destdir)/%.pdf) copy_pdf_compatible_files: $(eps_pdf_targets) $(eps_pdf_targets): $(pics_destdir)/%.pdf : %.eps | $(pics_destdir) epstopdf --autorotate=All --outfile='$@' '$<' clean_eps_pdf_targets: real_clean_eps_pdf_targets: ifneq ($(strip $(eps_pdf_targets)),) rm -f $(eps_pdf_targets) endif .INTERMEDIATE: