[sound-juicer] Ensure data/appdata exists under $(builddir)



commit 84a771e5ec314dfdc35143198b81093e672f27dc
Author: Phillip Wood <phillip wood dunelm org uk>
Date:   Wed Jun 15 18:29:18 2016 +0100

    Ensure data/appdata exists under $(builddir)
    
    This fixes make install when builddir != srcdir

 configure.ac |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 76bc1ff..cfa123d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,6 +47,10 @@ YELP_HELP_INIT
 # Appdata validation and installation
 APPSTREAM_XML
 
+# Ensure data/appdata exists under $(builddir)
+AC_PROG_MKDIR_P
+AC_CONFIG_COMMANDS([data/appdata], [$MKDIR_P data/appdata])
+
 # Find GLib and GObject
 PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.38 gthread-2.0 gobject-2.0 gio-2.0)
 AC_SUBST(GLIB_CFLAGS)


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