[seahorse] build: Fix VPATH build



commit 1b627f785e189c1f1879a937ef55750f01adf342
Author: Daiki Ueno <dueno src gnome org>
Date:   Mon Aug 3 16:47:48 2015 +0900

    build: Fix VPATH build
    
    The directory $(builddir)/libseahorse needs to be created before
    generating libseahorse/seahorse.gresource.xml.

 libseahorse/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libseahorse/Makefile.am b/libseahorse/Makefile.am
index 60a59f1..223536b 100644
--- a/libseahorse/Makefile.am
+++ b/libseahorse/Makefile.am
@@ -71,7 +71,8 @@ seahorse-resources.c: libseahorse/seahorse.gresource.xml $(ui_files)
                --sourcedir=$(srcdir) --generate-source --manual-register $<
 
 libseahorse/seahorse.gresource.xml: Makefile.am
-       $(AM_V_GEN) echo "<?xml version='1.0' encoding='UTF-8'?>" > $@; \
+       $(AM_V_GEN) $(MKDIR_P) libseahorse; \
+       echo "<?xml version='1.0' encoding='UTF-8'?>" > $@; \
        echo "<gresources>" >> $@; \
        echo "  <gresource prefix='/org/gnome/Seahorse'>" >> $@; \
        list='$(ui_files)'; \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]