summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-06-13 16:09:53 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2016-06-13 16:09:53 +0200
commit21315509e20c332f15e183f073adbf25ef193d86 (patch)
tree4d47019517740e35f50579b57164765d4247df61
parent922e4e918182c4a6d012973a237b89b9248a017c (diff)
evas: loaders: make sure we create the directory first before we create symlinks
We assume that the directory already exists here when creating the symlinks. Better make sure this is really the case. Thanks to Vtorri for pointing towards the fix. Fixes T3880 and T3875
-rw-r--r--src/Makefile_Evas.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile_Evas.am b/src/Makefile_Evas.am
index f7a8f30..9ce7fad 100644
--- a/src/Makefile_Evas.am
+++ b/src/Makefile_Evas.am
@@ -2420,6 +2420,7 @@ generic_evas_pdf_evas_image_loader_pdf_LDADD = @USE_EINA_LIBS@ @POPPLER_LIBS@ @S
2420generic_evas_pdf_evas_image_loader_pdf_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@ 2420generic_evas_pdf_evas_image_loader_pdf_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
2421 2421
2422EFL_INSTALL_EXEC_HOOK += \ 2422EFL_INSTALL_EXEC_HOOK += \
2423mkdir -p $(DESTDIR)$(libdir)/evas/utils \
2423ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.ppt; \ 2424ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.ppt; \
2424ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.pptx; \ 2425ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.pptx; \
2425ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.odp; \ 2426ln -sf evas_image_loader.pdf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.odp; \
@@ -2481,6 +2482,7 @@ generic_evas_raw_evas_image_loader_raw_CFLAGS = \
2481@LIBRAW_CFLAGS@ 2482@LIBRAW_CFLAGS@
2482 2483
2483EFL_INSTALL_EXEC_HOOK += \ 2484EFL_INSTALL_EXEC_HOOK += \
2485mkdir -p $(DESTDIR)$(libdir)/evas/utils \
2484ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.arw; \ 2486ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.arw; \
2485ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.cr2; \ 2487ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.cr2; \
2486ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.crw; \ 2488ln -sf evas_image_loader.raw $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.crw; \
@@ -2522,6 +2524,7 @@ generic_evas_svg_evas_image_loader_svg_LDADD = @USE_EINA_LIBS@ @RSVG_LIBS@ @SHM_
2522generic_evas_svg_evas_image_loader_svg_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@ 2524generic_evas_svg_evas_image_loader_svg_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
2523 2525
2524EFL_INSTALL_EXEC_HOOK += \ 2526EFL_INSTALL_EXEC_HOOK += \
2527mkdir -p $(DESTDIR)$(libdir)/evas/utils \
2525ln -sf evas_image_loader.svg $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.svgz; \ 2528ln -sf evas_image_loader.svg $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.svgz; \
2526ln -sf evas_image_loader.svg $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.svg.gz; 2529ln -sf evas_image_loader.svg $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.svg.gz;
2527 2530
@@ -2544,4 +2547,5 @@ generic_evas_xcf_evas_image_loader_xcf_CFLAGS = \
2544generic_evas_xcf_evas_image_loader_xcf_LDADD = @USE_EINA_LIBS@ @SHM_LIBS@ -lm -lz 2547generic_evas_xcf_evas_image_loader_xcf_LDADD = @USE_EINA_LIBS@ @SHM_LIBS@ -lm -lz
2545generic_evas_xcf_evas_image_loader_xcf_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@ 2548generic_evas_xcf_evas_image_loader_xcf_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
2546EFL_INSTALL_EXEC_HOOK += \ 2549EFL_INSTALL_EXEC_HOOK += \
2550mkdir -p $(DESTDIR)$(libdir)/evas/utils \
2547ln -sf evas_image_loader.xcf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.xcf.gz; 2551ln -sf evas_image_loader.xcf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.xcf.gz;