diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2014-10-02 10:26:47 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2014-10-02 10:26:47 -0400 |
commit | d2ab3e18db73c45a183e1059bde9be61d4d0fc59 (patch) | |
tree | 51ef707d34afe955ef777066c290473f7d959e62 /eps.mk | |
parent | 0e4240b87c7cd34cf5a1cdd04d621efb1229179c (diff) | |
download | makefile_templates-d2ab3e18db73c45a183e1059bde9be61d4d0fc59.tar.gz makefile_templates-d2ab3e18db73c45a183e1059bde9be61d4d0fc59.zip |
eps to pdf makefile fixed to make proper file copy
Diffstat (limited to 'eps.mk')
-rw-r--r-- | eps.mk | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,17 +1,19 @@ # -*- make -*- -CLEAN_TARGETS += +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_eps_pdf_targets: dest_dir_eps_pdf $(eps_pdf_targets) +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) |