examples: eina-cxx: ensure the install hook honors a set DESTDIR
authorSimon Lees <sflees@suse.de>
Fri, 17 Jun 2016 05:35:02 +0000 (15:05 +0930)
committerSimon Lees <sflees@suse.de>
Fri, 17 Jun 2016 05:35:02 +0000 (15:05 +0930)
Only missing from the mkdir this time.

src/examples/eina_cxx/Makefile.am

index 5bf319c..6e51415 100644 (file)
@@ -29,7 +29,7 @@ clean-local:
        rm -f $(EXTRA_PROGRAMS)
 
 install-examples:
-       $(MKDIR_P) $(datadir)/eina_cxx/examples
+       $(MKDIR_P) $(DESTDIR)$(datadir)/eina_cxx/examples
        cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(DESTDIR)$(datadir)/eina_cxx/examples
 
 uninstall-local: